The tdmc
CLI provides supports all data service operations and fleet management functions provided by Tanzu Data Management Console (TDMC). Supported data services include RabbitMQ, Postgres, MySQL, and Redis.
Usage
Commands
Global Flags
tdmc completion
Generate the autocompletion script for tdmc for the specified shell. See each sub-command’s help for details on how to use the generated script.
Usage
Commands
Run tdmc completion [command] -h
for more information about a command.
< id=“completion-bash”> tdmc completion bash
Generate the autocompletion script for the bash shell.
This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.
To load completions in your current shell session:
To load completions for every new session, execute once:
Linux:
macOS:
You will need to start a new shell for this setup to take effect.
Usage
Flags
tdmc completion fish
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
To load completions for every new session, execute once:
You will need to start a new shell for this setup to take effect.
Usage
Flags
tdmc completion powershell
Generate the autocompletion script for powershell.
To load completions in your current shell session:
To load completions for every new session, add the output of the above command to your powershell profile.
Usage
Flags
tdmc completion zsh
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
To load completions in your current shell session:
To load completions for every new session, execute once:
Linux:
macOS:
You will need to start a new shell for this setup to take effect.
Usage
Flags
tdmc configure
Configure command will be used to configure various default options for the CLI:
endpoint-url: To determine the endpoint to reach e.g. https://console.managed-ds.cloud.vmware.com/ output-type: the type of output you want to fetch. Available formats is json. profile-name: Name of the Profile to use no-pagination: To determine whether we want to have a paginated response or full response no-verify-ssl: To Enable/Disable SSL
Usage
Example
Commands
Run tdmc configure list -h
for more information.
Flags
tdmc configure list
To Show the current value of configuration that is being used
Usage
Examples
tdmc dev
Perform operations on the environment that are not related to using the product.
Usage
Commands
tdmc dev log-bundle
Downloads logs by utilizing the Elasticsearch API running on the specified control plane or data plane cluster.
Usage
Examples
Flags
tdmc iam
Perform Identity and Access Management Operations:
- network-policy : create, update, list, delete
- rabbitmq-policy : create, update, list, delete
- user-account : create, update, list, delete
- service-account : create, update, list, delete
Usage
Commands
tdmc iam local-user
Commands related to local user.
Usage
Commands
Run tdmc iam local-user [command] -h
for more information about a command.
tdmc iam mysql-policy
Commands related to MySQL Policy
Usage
Commands
Run tdmc iam mysql-policy [command] -h
for more information about a command.
tdmc iam network-policy
Commands related to Network Policy
Usage
Commands
Run tdmc iam network-policy [command] -h
for more information about a command.
tdmc iam postgres-policy
Commands related to Postgres Policy
Usage
Commands
Run tdmc iam postgres-policy [command] -h
for more information about a command.
tdmc iam rabbitmq-policy
Commands related to RabbitMQ Policy
Usage
Commands
Run tdmc iam rabbitmq-policy [command] -h
for more information about a command.
tdmc iam redis-policy
Commands related to Redis Policy
Usage
Commands
Run tdmc iam redis-policy [command] -h
for more information about a command.
tdmc iam service-account
Commands related to Service Account
Usage
Commands
Run tdmc iam service-account [command] -h
for more information about a command.
tdmc iam user-account
Commands related to User Account
Usage
Commands
Run tdmc iam user-account [command] -h
for more information about a command.
tdmc mysql-cluster
Usage
Commands
tdmc mysql-cluster attach-network-policy
Attach the Given Network Policy to MySQL Cluster.
This will update the network policy associated with the MySQL Cluster with the provided policy IDs
A list of network policies can be attached to the cluster by providing a comma separated list of policy ids. For example
attach-network-policy
will update the given mysql-cluster with the new changes specified by the--policy-id
flag; Old network policies will be replaced.
Usage
Examples
Flags
tdmc mysql-cluster backup
To perform backup operations for a MySQL cluster: create-backup, delete-backup, list
Usage
Commands
Run tdmc mysql-cluster backup [command] -h
for more information about a command.
tdmc mysql-cluster create
Create a MySQL Cluster for the given service type
To get the sample template for MySQL Cluster create please type the command : “tdmc mysql-cluster create” This will generate a sample json file in the current working directory
Usage
Examples
Flags
tkgs
refers to vSphere Kubernetes Service, which was renamed from Tanzu Kubernetes Grid Service.
tdmc mysql-cluster delete
Delete a MySQL Cluster for a given id if exists
Usage
Examples
Flags
tdmc mysql-cluster list
List a MySQL Cluster Instance or All MySQL Cluster Instances
This will generate the list of MySQL Cluster Instances present in the org. You can export it and store it in a file via export option To list the details of a specific MySQL Cluster Instance, please provide it via --id
flag
Usage
Examples
Flags
tdmc mysql-cluster restore
To perform restore operations for MySQL Cluster: backup, list
Usage
Commands
Run tdmc mysql-cluster restore [command] -h
for more information about a command.
tdmc mysql-cluster update
To Update the tags for the MySQL Cluster.
This will update the tags associated with the MySQL Cluster with the provided tags
A list of tags can be attached to the cluster by providing a comma separated list of tags. For example, with the new changes specified by the
--tags
flag; Old tags will be replaced
Usage
Examples
Flags
tdmc mysql-cluster upgrade
To upgrade MySQL Cluster to next Target version.
To get the target version of the cluster, run:
Usage
Examples
Flags
tdmc object-store
To Perform Operations for Object Store: list
Usage
Commands
tdmc object-store list
List All Object Store Instances This will generate the list of Object Store Instances present in the org. You can export it and store it in a file via export option
Usage
Examples
Flags
tdmc postgres-cluster
To Perform Operations for Postgres Cluster Following operations are supported
Usage
Commands
tdmc postgres-cluster attach-network-policy
Attach the Given Network Policy to a Postgres Cluster.
This will update the network policy associated with the Postgres Cluster with the provided policy IDs
A list of network policies can be attached to the cluster by providing a comma separated list of policy IDs. For example attach-network-policy will update the given postgres-cluster with the new changes specified by the –policy-id flag; Old network policies will be replaced
Usage
Examples
Flags
tdmc postgres-cluster backup
Perform backup Operations of Postgres Cluster: create-backup, delete-backup, list
Usage
Commands
Run tdmc postgres-cluster backup [command] -h
for more information about a command.
tdmc postgres-cluster create
Create a Postgres Cluster for the given service type
To get the sample template for Postgres Cluster create please type the command : “tdmc postgres-cluster create” This will generate a sample json file in the current working directory
Usage
Examples
Flags
tkgs
refers to vSphere Kubernetes Service, which was renamed from Tanzu Kubernetes Grid Service.
tdmc postgres-cluster delete
Delete a Postgres Cluster for a given id if exists
Usage
Examples
Flags
tdmc postgres-cluster list
List A Postgres Cluster Instance or All Postgres Cluster Instances
This will generate the list of Postgres Cluster Instances present in the org. You can export it and store it in a file via export option To list the details of a specific Postgres Cluster Instance, please provide it via –id flag
Usage
Examples
Flags
tdmc postgres-cluster restore
To perform restore Operations of Postgres Cluster: backup, list
Usage
Commands
Run tdmc postgres-cluster restore [command] -h
for more information about a command.
tdmc postgres-cluster update
To Update the tags for the Postgres Cluster.
This will update the tags associated with the Postgres Cluster with the provided tags
A list of tags can be attached to the cluster by providing a comma separated list of tags. For example updates the given postgres-cluster with the new changes specified by the –tags flag; Old tags will be replaced
Usage
Examples
Flags
tdmc postgres-cluster upgrade
Upgrades a Postgres Cluster to next Target version
To get the target version of the cluster,Please type the command: “tdmc postgres-cluster upgrade –id <CLUSTER_ID>”
Usage
Examples
Flags
tdmc profile
For performing operations related to profiles. You can Add, Delete, List or Update profiles.
Usage
Commands
Flags
tdmc profile create
Create an authentication profile.
If “type” is “api_token”, attribute “api-token” will be required. If “type” is “client_credentials”, attributes “client-id”, “client-secret” and “org-id” will be required.
Usage
Examples
Flags
tdmc profile delete
Delete a profile if it exists.
Usage
Examples
tdmc profile get
Get profile details for the given name if it exists.
Usage
Examples
tdmc profile list
List all the profiles present.
Usage
Examples
tdmc profile update
To update a profile if it exists.
Usage
Examples
tdmc redis-cluster
To Perform Operations for Redis Cluster
Usage
Commands
tdmc redis-cluster attach-network-policy
Attach a Network Policy to Redis Cluster.
This will update the network policy associated with the Redis Cluster with the provided policy IDs
A list of network policies can be attached to the cluster by providing a comma separated list of polidy ids. For example, attach-network-policy will update the given redis-cluster with the new changes specified by the –policy-id flag; Old network policies will be replaced
Usage
Examples
Flags
tdmc redis-cluster backup
Perform backup Operations on a Redis Cluster: create-backup, delete-backup, list
Usage
Commands
Run tdmc redis-cluster backup [command] -h
for more information about a command.
tdmc redis-cluster create
Create a Redis Cluster for the given service type
To get the sample template for Redis Cluster create please type the command : “tdmc redis-cluster create” This will generate a sample json file in the current working directory
Usage
Examples
Flags
tkgs
refers to vSphere Kubernetes Service, which was renamed from Tanzu Kubernetes Grid Service.
tdmc redis-cluster delete
Delete a Redis Cluster for a given id if exists
Usage
Examples
Flags
tdmc redis-cluster list
List a Redis Cluster Instance or All Redis Cluster Instances
This will generate the list of Redis Cluster Instances present in the org. You can export it and store it in a file via export option To list the details of a specific Redis Cluster Instance, please provide it via –id flag
Usage
Examples
Flags
tdmc redis-cluster restore
To perform restore Operations of Redis Cluster
You perform the following operations related to the following: - restore : backup, list
Usage
Commands
Run tdmc redis-cluster restore [command] -h
for more information about a command.
tdmc redis-cluster update
Update the tags for the Redis Cluster.
This will update the tags associated with the Redis Cluster with the provided tags
A list of tags can be attached to the cluster by providing a comma separated list of tags. For example updates the given Redis Cluster with the new changes specified by the –tags flag; Old tags will be replaced
Usage
Examples
Flags
tdmc redis-cluster upgrade
To upgrade Redis Cluster to next Target version To get the target version of the cluster,Please type the command: “tdmc redis-cluster upgrade –id <CLUSTER_ID>”
Usage
Examples
Flags
tdmc rmq-cluster
To Perform Operations for RabbitMQ Cluster
Usage
Commands
tdmc rmq-cluster attach-network-policy
To Attach the Given Network Policy to RabbitMQ Cluster.
This will update the network policy associated with the RabbitMQ Cluster with the provided policy IDs
A list of network policies can be attached to the cluster by providing a comma separated list of polidy ids. For example, attach-network-policy will update the given rmq-cluster with the new changes specified by the –policy-id flag; Old network policies will be replaced
Usage
Examples
Flags
tdmc rmq-cluster create
Create a RabbitMQ Cluster for the given service type
To get the sample template for RabbitMQ Cluster create please type the command : “tdmc rmq-cluster create” This will generate a sample json file in the current working directory
Usage
Examples
Flags
tkgs
refers to vSphere Kubernetes Service, which was renamed from Tanzu Kubernetes Grid Service.
tdmc rmq-cluster delete
Delete a RabbitMQ Cluster for a given id if exists
Usage
Examples
Flags
tdmc rmq-cluster list
List A RabbitMQ Cluster Instance or All RabbitMQ Cluster Instances
This will generate the list of RabbitMQ Cluster Instances present in the org. You can export it and store it in a file via export option To list the details of a specific RabbitMQ Cluster Instance, please provide it via –id flag
Usage
Examples
Flags
tdmc rmq-cluster update
Update the tags for the RabbitMQ Cluster.
This will update the tags associated with the RabbitMQ Cluster with the provided tags
A list of tags can be attached to the cluster by providing a comma separated list of tags. For example updates the given rmq-cluster with the new changes specified by the –tags flag; Old tags will be replaced
Usage
Examples
Flags
tdmc rmq-cluster upgrade
Upgrade RMQ Cluster to next Target version
To get the target version of the cluster,Please type the command: “tdmc rmq-cluster upgrade –id <CLUSTER_ID>”
Usage
Examples
Flags
tdmc sre
Perform SRE Related Operations.
Usage
Commands
tdmc sre certificate
Perform Operations for Certificates
Usage
Commands
Run tdmc sre certificate [command] -h
for more information about a command.
tdmc sre cloud-account
To Perform Operations for SRE Cloud Account
Usage
Commands
Run tdmc sre cloud-account [command] -h
for more information about a command.
tdmc sre data-plane
To allow the SRE to manage Data Planes.
Usage
Commands
Run tdmc sre data-plane [command] -h
for more information about a command.
tdmc sre dns
Manage all the DNS configs
The following operations are supported:
- list
Usage
Commands
Run tdmc sre dns list -h
for more information.
tdmc sre fleet-health
Get the Fleet Health Of the Customers
The following operations are supported:
- list
Usage
Examples
Flags
tdmc sre object-store
Perform Operations for Object Store
The following operations are supported:
- create (for sre users)
- list
- delete (for sre users)
Usage
Commands
Run tdmc sre object-store [command] -h
for more information about a command.
tdmc sre org
To Perform Operations for Org
The following operations are supporte
- create (for sre users)
- list (for sre users)
Usage
Commands
Run tdmc sre org [command] -h
for more information about a command.
tdmc sre service-account
List service account as SRE user
Usage
Examples
Flags
tdmc sre smtp
Commands that allow the SRE to manage SMTP.
Usage
Commands
Run tdmc sre smtp [command] -h
for more information about a command.
tdmc sre t-shirt-size
To Perform Operations for T-shirt size
The following operations are supporte
- list
- create
- delete
Usage
Commands
Run tdmc sre t-shirt-size [command] -h
for more information about a command.
tdmc sre user-account
List user account as SRE user
Usage
Examples
Flags
tdmc task
Perform Task Related Operations
Usage
Commands
tdmc task get
Get the Task Status for the provided ID
Content feedback and comments