Apache CloudStack 4.23.0.0 Root Admin API Reference
cloneVPCOffering
Clones an existing VPC offering. All parameters are copied from the source offering unless explicitly overridden. Use 'addServices' and 'dropServices' to modify the service list without respecifying everything.
Request parameters
| Parameter Name | Description | Required |
| name | The name of the VPC offering | true |
| sourceofferingid | The ID of the source VPC offering to clone from | true |
| addservices | Services to add to the cloned offering (in addition to source offering services). If specified along with 'supportedservices', this parameter is ignored. | false |
| conservemode | True if the VPC offering is IP conserve mode enabled, allowing public IPs to be used across multiple VPC tiers. Default value is false | false |
| displaytext | The display text of the VPC offering, defaults to the 'name' | false |
| domainid | The ID of the containing domain(s), null for public offerings | false |
| dropservices | Services to remove from the cloned offering (that exist in source offering). If specified along with 'supportedservices', this parameter is ignored. | false |
| enable | Set to true if the offering is to be enabled during creation. Default is false | false |
| fornsx | true if network offering is meant to be used for NSX, false otherwise. | false |
| internetprotocol | The internet protocol of the offering. Options are IPv4 and dualstack. Default is IPv4. dualstack will create an offering that supports both IPv4 and IPv6 | false |
| networkmode | Indicates the mode with which the network will operate. Valid option: NATTED or ROUTED | false |
| nsxsupportlb | true if network offering for NSX VPC offering supports Load balancer service. | false |
| provider | Name of the provider providing the service | false |
| routingmode | the routing mode for the VPC offering. Supported types are: Static or Dynamic. | false |
| servicecapabilitylist | Desired service capabilities as part of VPC offering | false |
| serviceofferingid | The ID of the service offering for the VPC router appliance | false |
| serviceproviderlist | Provider to service mapping. If not specified, the provider for the service will be mapped to the default provider on the physical network | false |
| specifyasnumber | true if the VPC offering supports choosing AS number | false |
| supportedservices | Services supported by the VPC offering | false |
| zoneid | The ID of the containing zone(s), null for public offerings | false |
Response Tags
| Response Name | Description |
| id | The ID of the VPC offering |
| conservemode | True if the VPC offering is IP conserve mode enabled, allowing public IP services to be used across multiple VPC tiers. |
| created | The date this VPC offering was created |
| displaytext | An alternate display text of the VPC offering. |
| distributedvpcrouter | Indicates if the VPC offering supports distributed router for one-hop forwarding |
| domain | The domain name(s) this disk offering belongs to. Ignore this information as it is not currently applicable. |
| domainid | The domain ID(s) this disk offering belongs to. Ignore this information as it is not currently applicable. |
| fornsx | True if VPC offering can be used by NSX networks only |
| internetprotocol | The internet protocol of the VPC offering |
| isdefault | True if VPC offering is default, false otherwise |
| name | The name of the VPC offering |
| networkmode | Mode in which the network will operate. The valid values are NATTED and ROUTED |
| routingmode | The routing mode for the network offering, supported types are Static or Dynamic. |
| specifyasnumber | True if network offering supports choosing AS numbers |
| state | State of the VPC offering. Can be Disabled/Enabled |
| supportsregionLevelvpc | Indicated if the offering can support region level VPC |
| zone | The zone name(s) this disk offering belongs to. Ignore this information as it is not currently applicable. |
| zoneid | The zone ID(s) this disk offering belongs to. Ignore this information as it is not currently applicable. |
| service(*) | The list of supported services |
| name | The service name |
| capability(*) | The list of capabilities |
| canchooseservicecapability | Can this service capability value can be choosable while creatine Network offerings |
| name | The capability name |
| value | The capability value |
| provider(*) | The service provider name |
| id | UUID of the Network provider |
| canenableindividualservice | True if individual services can be enabled/disabled |
| destinationphysicalnetworkid | The destination physical Network |
| name | The provider name |
| physicalnetworkid | The physical Network this belongs to |
| servicelist | Services for this provider |
| state | State of the Network provider |