Global InfraGlobal Infra Cloud
dbaas-pg

database-hba-conf

CLI reference for database-hba-conf (dbaas-pg).

gi dbaas-pg database-hba-conf

Subcommands

CommandDescription
gi dbaas-pg database-hba-conf get <id>Get a database-hba-conf.
gi dbaas-pg database-hba-conf listList database-hba-confs.
gi dbaas-pg database-hba-conf createCreate a new database-hba-conf.
gi dbaas-pg database-hba-conf update <id>Update a database-hba-conf.
gi dbaas-pg database-hba-conf delete <id>Delete a database-hba-conf.

Flags

list flags

FlagAliasDescription
--filter-fFilter assets (e.g. attributes.name=my-asset)

create flags

FlagAliasDescription
--file—Path to a YAML or JSON file describing the asset

update flags

FlagAliasDescription
--file—Path to a YAML or JSON file with updated attributes

Examples

# List all
gi dbaas-pg database-hba-conf list

# Get by id
gi dbaas-pg database-hba-conf get <id>

# Filter by attribute
gi dbaas-pg database-hba-conf list -f attributes.database_id=sb/eu/2/axis_mydb

# Create from file
gi dbaas-pg database-hba-conf create --file asset.yaml

# Update
gi dbaas-pg database-hba-conf update <id> --file asset.yaml

# Delete
gi dbaas-pg database-hba-conf delete <id>

Usage Notes

On this page