NSX-T Data Center REST API

CloudSecurityGroupRule (type)

{
  "additionalProperties": false, 
  "description": "Stores information about a cloud security group rule.", 
  "extends": {
    "$ref": "DiscoveredResource
  }, 
  "id": "CloudSecurityGroupRule", 
  "module_id": "CloudServiceManager", 
  "properties": {
    "_last_sync_time": {
      "$ref": "EpochMsTimestamp, 
      "can_sort": true, 
      "description": "Timestamp of last modification", 
      "readonly": true
    }, 
    "_links": {
      "description": "The server will populate this field when returing the resource. Ignored on PUT and POST.", 
      "items": {
        "$ref": "ResourceLink
      }, 
      "readonly": true, 
      "title": "References related to this resource", 
      "type": "array"
    }, 
    "_schema": {
      "readonly": true, 
      "title": "Schema for this resource", 
      "type": "string"
    }, 
    "_self": {
      "$ref": "SelfResourceLink, 
      "readonly": true, 
      "title": "Link to this resource"
    }, 
    "description": {
      "can_sort": true, 
      "maxLength": 1024, 
      "title": "Description of this resource", 
      "type": "string"
    }, 
    "destination": {
      "description": "Destination corresponding to the cloud security group rule.", 
      "readonly": true, 
      "required": false, 
      "title": "Destination", 
      "type": "string"
    }, 
    "display_name": {
      "can_sort": true, 
      "description": "Defaults to ID if not set", 
      "maxLength": 255, 
      "title": "Identifier to use when displaying entity in logs or GUI", 
      "type": "string"
    }, 
    "port_range": {
      "description": "Port range corresponding to the cloud security group rule.", 
      "readonly": true, 
      "required": false, 
      "title": "Port Range", 
      "type": "string"
    }, 
    "protocol": {
      "description": "Protocol corresponding to the cloud security group rule.", 
      "readonly": true, 
      "required": false, 
      "title": "Protocol", 
      "type": "string"
    }, 
    "resource_type": {
      "description": "The type of this resource.", 
      "readonly": false, 
      "required": true, 
      "type": "string"
    }, 
    "scope": {
      "description": "Specifies list of scope of discovered resource. e.g. if VHC path is associated with principal identity, who owns the discovered resource, then scope id will be VHC path and scope type will be VHC.", 
      "items": {
        "$ref": "DiscoveredResourceScope
      }, 
      "readonly": false, 
      "required": false, 
      "title": "List of scopes for discovered resource", 
      "type": "array"
    }, 
    "source": {
      "description": "Source corresponding to the cloud security group rule.", 
      "readonly": true, 
      "required": false, 
      "title": "Source", 
      "type": "string"
    }, 
    "tags": {
      "items": {
        "$ref": "Tag
      }, 
      "maxItems": 30, 
      "title": "Opaque identifiers meaningful to the API user", 
      "type": "array"
    }
  }, 
  "title": "Cloud Security Group Rule", 
  "type": "object"
}