Skip to main content
Manage global virtual clouds For a detailed overview, please visit the gvc’s reference page.

gvc access-report

Show the access report for the referenced global virtual cloud Usage
Common Options Reference
  • Display the user / service account / group permissions for the ‘demo-gvc’ global virtual cloud within the ‘demo-cpln-organization’ organization

gvc add-location

Add one or more locations to the referenced global virtual cloud Usage
Common Options Reference
The gvc, named ‘demo-gvc’, in the examples below was already created with ‘aws-eu-central-1’ as one of its locations.
  • Add one location to a global virtual cloud
  • Add multiple locations to a global virtual cloud

gvc audit

Retrieve audit trail events for the referenced global virtual cloud Usage
Common Options Reference

gvc clone

Create a clone of the referenced global virtual cloud; this will only duplicate its spec. Usage
Common Options Reference

gvc create

Create a new global virtual cloud Usage
Common Options Reference
  • name
    • Minimum Length: 3
    • Maximum Length: 64
    • Only lowercase characters
    • Must begin with a character
    • Allowed special characters: -
  • Create an new GVC with a single location

gvc delete

Delete GVCs by name Usage
Deleting a gvc will remove all associated resources (workloads, etc.)
Common Options Reference
  • Delete a gvc
  • Delete multiple gvcs

gvc delete-all-workloads

Delete all workloads for the referenced global virtual cloud Usage
Deleting all the associated workloads will remove all associated resources (containers, etc.)
Common Options Reference
  • Delete all workloads

gvc edit

Edit the referenced global virtual cloud, as YAML, within an editor Usage
The default editor can be set by using the EDITOR environment variable.
Common Options Reference

gvc eventlog

Show the event log of the referenced global virtual cloud Usage
Common Options Reference

gvc get

Retrieve one or more referenced global virtual clouds Usage
An empty reference will return all references
Common Options Reference
  • Get all gvcs
  • Get one gvc
  • Get multiple gvcs

gvc patch

Update the referenced global virtual cloud’s metadata using an input file Usage
Running this command with the option --file - sets the input to stdin. The input is required to be a valid JSON or YAML string (e.g., {"description": "My new description"} or description: My new description). To complete the update, press Control-D (or Control-Z if you are using Windows).
Common Options Reference

gvc permissions

Show the grantable permissions for a global virtual cloud object type Usage
Common Options Reference

gvc query

Find all the global virtual clouds based on the given query Usage
Common Options Reference
Use the --match option to display all, none, or any of the results based on a given property or tag
  • Search for a gvc based on the name property
  • Search for a gvc based on the description property
  • Search for a gvc based on a tag
  • Search for a gvc based on a property and tag

gvc remove-location

Remove one or more locations from the referenced global virtual cloud Usage
Common Options Reference
The gvc, named ‘demo-gvc-with-locations’, in the examples below was already created with four locations. A gvc must have at least one location.
  • Remove one location from a global virtual cloud
  • Remove multiple locations from a global virtual cloud

gvc tag

Manage the tags belonging to one or more referenced global virtual clouds Usage
Built-in tags, which begin with cpln/*, can’t be modified.
Common Options Reference
  • Add a tag to a gvc
  • Update same tag (after running the example above)
  • Remove tag (after running the example above)
  • Add same tag to multiple gvcs
  • Update same tag on multiple gvcs (after running the example above)
  • Remove same tag from multiple gvcs (after running the example above)

gvc update

Update properties of the referenced global virtual cloud Usage
Common Options Reference
  • The --set option allows the modification of the following global virtual cloud properties:
    • description
      • Description of the global virtual cloud
      • Type: string
    • tags
      • Tags (key=value) associated with the global virtual cloud
      • Type: string
    • spec.pullSecretLinks
      • Array of pull secret links belonging to the global virtual cloud
      • Type: string[]
    • spec.domain
      • The domain linked to this global virtual cloud
      • Type: string
    • spec.staticPlacement.locationLinks
      • Array of location links belonging to the global virtual cloud
      • Type: string[]
  • For the examples below, the initial gvc is configured as:
  • Update a gvc’s description
  • Update a gvc’s tag