Oracle Cloud Infrastructure · Arazzo Workflow

Oracle Cloud Add Secured Subnet

Version 1.0.0

Resolve a VCN's route table and security list, then create a subnet wired to both.

1 workflow 4 source APIs 1 provider
View Spec View on GitHub Cloud ComputingEnterprise CloudInfrastructure-as-a-ServiceOraclePlatform-as-a-ServiceComputeObject StorageIdentity and Access ManagementDatabaseKubernetesServerlessMonitoringEvent-DrivenArazzoWorkflows

Provider

oracle-cloud

Workflows

add-secured-subnet
Resolve a VCN's route table and security list, then create a subnet using them.
Confirms the VCN, lists its route tables and security lists, and creates a subnet referencing the first route table and security list.
4 steps inputs: cidrBlock, compartmentId, displayName, prohibitPublicIpOnVnic, vcnId outputs: routeTableId, securityListId, subnetId, vcnName
1
getVcn
Confirm the VCN exists before creating a subnet in it.
2
listRouteTables
List the route tables in the VCN and select the first one.
3
listSecurityLists
List the security lists in the VCN and select the first one.
4
createSubnet
Create a subnet in the VCN wired to the discovered route table and security list.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Oracle Cloud Add Secured Subnet
  summary: Resolve a VCN's route table and security list, then create a subnet wired to both.
  description: >-
    Adds a network segment to an existing VCN with explicit routing and
    firewall rules. The workflow confirms the VCN, lists its route tables and
    security lists, and creates a subnet that references the discovered route
    table and security list. Every step spells out its request inline so the
    segmentation flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: routeTablesApi
  url: ../openapi/oracle-cloud-route-tables-api-openapi.yml
  type: openapi
- name: securityListsApi
  url: ../openapi/oracle-cloud-security-lists-api-openapi.yml
  type: openapi
- name: subnetsApi
  url: ../openapi/oracle-cloud-subnets-api-openapi.yml
  type: openapi
- name: vcnsApi
  url: ../openapi/oracle-cloud-vcns-api-openapi.yml
  type: openapi
workflows:
- workflowId: add-secured-subnet
  summary: Resolve a VCN's route table and security list, then create a subnet using them.
  description: >-
    Confirms the VCN, lists its route tables and security lists, and creates a
    subnet referencing the first route table and security list.
  inputs:
    type: object
    required:
    - compartmentId
    - vcnId
    - cidrBlock
    properties:
      compartmentId:
        type: string
        description: The OCID of the compartment containing the VCN.
      vcnId:
        type: string
        description: The OCID of the VCN to add the subnet to.
      cidrBlock:
        type: string
        description: The CIDR block for the new subnet (e.g. 10.0.1.0/24).
      displayName:
        type: string
        description: A user-friendly name for the subnet.
      prohibitPublicIpOnVnic:
        type: boolean
        description: Whether to prohibit public IPs on VNICs in the subnet.
  steps:
  - stepId: getVcn
    description: Confirm the VCN exists before creating a subnet in it.
    operationId: getVcn
    parameters:
    - name: vcnId
      in: path
      value: $inputs.vcnId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      vcnName: $response.body#/displayName
  - stepId: listRouteTables
    description: List the route tables in the VCN and select the first one.
    operationId: listRouteTables
    parameters:
    - name: compartmentId
      in: query
      value: $inputs.compartmentId
    - name: vcnId
      in: query
      value: $inputs.vcnId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      routeTableId: $response.body#/0/id
  - stepId: listSecurityLists
    description: List the security lists in the VCN and select the first one.
    operationId: listSecurityLists
    parameters:
    - name: compartmentId
      in: query
      value: $inputs.compartmentId
    - name: vcnId
      in: query
      value: $inputs.vcnId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      securityListId: $response.body#/0/id
  - stepId: createSubnet
    description: >-
      Create a subnet in the VCN wired to the discovered route table and
      security list.
    operationId: createSubnet
    requestBody:
      contentType: application/json
      payload:
        compartmentId: $inputs.compartmentId
        vcnId: $inputs.vcnId
        cidrBlock: $inputs.cidrBlock
        displayName: $inputs.displayName
        prohibitPublicIpOnVnic: $inputs.prohibitPublicIpOnVnic
        routeTableId: $steps.listRouteTables.outputs.routeTableId
        securityListIds:
        - $steps.listSecurityLists.outputs.securityListId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      subnetId: $response.body#/id
  outputs:
    vcnName: $steps.getVcn.outputs.vcnName
    routeTableId: $steps.listRouteTables.outputs.routeTableId
    securityListId: $steps.listSecurityLists.outputs.securityListId
    subnetId: $steps.createSubnet.outputs.subnetId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/oracle-cloud-add-secured-subnet-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.