We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

CLI for private subnet

Accepted answer
15
Views
2
Comments
edited Apr 18, 2020 2:14AM in Oracle Cloud Infrastructure - General 2 comments

Summary

CLI script for private subnet

Content

Hi,

I am trying to create private subnet using CLI and below once is works fine to create public subnet

$oci network subnet create --display-name <subnetName> --cidr-block <cidrBlkRange> --c $cid --vcn-id $vcnid --security-list-ids '["ocid1.xxxxxxx.xxxxx.x.x.x.x"]'

How to specify the private subnet parameters?

Thanks

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!