Nutanix · Capability

Nutanix Prism Central API v3 — Network Security Rules

Nutanix Prism Central API v3 — Network Security Rules. 5 operations. Lead operation: Nutanix Create a network security rule. Self-contained Naftiko capability covering one Nutanix business surface.

Run with Naftiko NutanixNetwork Security Rules

What You Can Do

POST
Createnetworksecurityrule — Nutanix Create a network security rule
/v1/network-security-rules
POST
Listnetworksecurityrules — Nutanix List network security rules
/v1/network-security-rules/list
GET
Getnetworksecurityrule — Nutanix Get a network security rule
/v1/network-security-rules/{uuid}
PUT
Updatenetworksecurityrule — Nutanix Update a network security rule
/v1/network-security-rules/{uuid}
DELETE
Deletenetworksecurityrule — Nutanix Delete a network security rule
/v1/network-security-rules/{uuid}

MCP Tools

nutanix-create-network-security-rule

Nutanix Create a network security rule

nutanix-list-network-security-rules

Nutanix List network security rules

read-only
nutanix-get-network-security-rule

Nutanix Get a network security rule

read-only idempotent
nutanix-update-network-security-rule

Nutanix Update a network security rule

idempotent
nutanix-delete-network-security-rule

Nutanix Delete a network security rule

idempotent

Capability Spec

prism-central-v3-network-security-rules.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Nutanix Prism Central API v3 — Network Security Rules
  description: 'Nutanix Prism Central API v3 — Network Security Rules. 5 operations. Lead operation: Nutanix Create a network
    security rule. Self-contained Naftiko capability covering one Nutanix business surface.'
  tags:
  - Nutanix
  - Network Security Rules
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NUTANIX_API_KEY: NUTANIX_API_KEY
capability:
  consumes:
  - type: http
    namespace: prism-central-v3-network-security-rules
    baseUri: https://{prismCentralIp}:9440/api/nutanix/v3
    description: Nutanix Prism Central API v3 — Network Security Rules business capability. Self-contained, no shared references.
    resources:
    - name: network_security_rules
      path: /network_security_rules
      operations:
      - name: createnetworksecurityrule
        method: POST
        description: Nutanix Create a network security rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: network_security_rules-list
      path: /network_security_rules/list
      operations:
      - name: listnetworksecurityrules
        method: POST
        description: Nutanix List network security rules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: network_security_rules-uuid
      path: /network_security_rules/{uuid}
      operations:
      - name: getnetworksecurityrule
        method: GET
        description: Nutanix Get a network security rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatenetworksecurityrule
        method: PUT
        description: Nutanix Update a network security rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletenetworksecurityrule
        method: DELETE
        description: Nutanix Delete a network security rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.NUTANIX_USER}}'
      password: '{{env.NUTANIX_PASS}}'
  exposes:
  - type: rest
    namespace: prism-central-v3-network-security-rules-rest
    port: 8080
    description: REST adapter for Nutanix Prism Central API v3 — Network Security Rules. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/network-security-rules
      name: network-security-rules
      description: REST surface for network_security_rules.
      operations:
      - method: POST
        name: createnetworksecurityrule
        description: Nutanix Create a network security rule
        call: prism-central-v3-network-security-rules.createnetworksecurityrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/network-security-rules/list
      name: network-security-rules-list
      description: REST surface for network_security_rules-list.
      operations:
      - method: POST
        name: listnetworksecurityrules
        description: Nutanix List network security rules
        call: prism-central-v3-network-security-rules.listnetworksecurityrules
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/network-security-rules/{uuid}
      name: network-security-rules-uuid
      description: REST surface for network_security_rules-uuid.
      operations:
      - method: GET
        name: getnetworksecurityrule
        description: Nutanix Get a network security rule
        call: prism-central-v3-network-security-rules.getnetworksecurityrule
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatenetworksecurityrule
        description: Nutanix Update a network security rule
        call: prism-central-v3-network-security-rules.updatenetworksecurityrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletenetworksecurityrule
        description: Nutanix Delete a network security rule
        call: prism-central-v3-network-security-rules.deletenetworksecurityrule
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: prism-central-v3-network-security-rules-mcp
    port: 9090
    transport: http
    description: MCP adapter for Nutanix Prism Central API v3 — Network Security Rules. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: nutanix-create-network-security-rule
      description: Nutanix Create a network security rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: prism-central-v3-network-security-rules.createnetworksecurityrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: nutanix-list-network-security-rules
      description: Nutanix List network security rules
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: prism-central-v3-network-security-rules.listnetworksecurityrules
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: nutanix-get-network-security-rule
      description: Nutanix Get a network security rule
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prism-central-v3-network-security-rules.getnetworksecurityrule
      outputParameters:
      - type: object
        mapping: $.
    - name: nutanix-update-network-security-rule
      description: Nutanix Update a network security rule
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: prism-central-v3-network-security-rules.updatenetworksecurityrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: nutanix-delete-network-security-rule
      description: Nutanix Delete a network security rule
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: prism-central-v3-network-security-rules.deletenetworksecurityrule
      outputParameters:
      - type: object
        mapping: $.