### Example: Start Server by ID Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_start.md Demonstrates how to start a server using its specific ID. ```bash stackit server start xxx ``` -------------------------------- ### Server Start Command Synopsis Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_start.md The synopsis shows the basic structure for starting a server using its ID. ```bash stackit server start SERVER_ID [flags] ``` -------------------------------- ### Help Flag for Server Start Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_start.md Provides help information for the `stackit server start` command. ```bash -h, --help Help for "stackit server start" ``` -------------------------------- ### Example: Describe Instance Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_git_instance_describe.md An example of how to describe an instance with the ID 'xxx'. Replace 'xxx' with your actual instance ID. ```bash stackit git describe xxx ``` -------------------------------- ### Example: Rescue Server with Image ID Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_rescue.md This example demonstrates how to rescue an existing server by specifying the server ID and the image ID for the temporary boot volume. ```bash stackit server rescue xxx --image-id yyy ``` -------------------------------- ### List All Edge Plans Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_edge-cloud_plans_list.md Use this command to list all available edge plans for your project. No specific setup is required beyond having the stackit CLI installed and configured. ```bash stackit beta edge-cloud plan list ``` -------------------------------- ### STACKIT CLI Example: Enable SKE Engine Source: https://github.com/stackitcloud/stackit-cli/blob/main/README.md Shows how to enable the STACKIT Kubernetes Engine (SKE) on your project. ```bash stackit ske enable ``` -------------------------------- ### STACKIT CLI Example: Create MongoDB Flex Instance Source: https://github.com/stackitcloud/stackit-cli/blob/main/README.md Example of how to create a MongoDB Flex instance. This command requires specifying instance details like name, CPU, RAM, and ACL. The --assume-yes flag bypasses confirmation prompts. ```bash stackit mongodbflex instance create --name my-instance --cpu 1 --ram 4 --acl 0.0.0.0/0 --assume-yes ``` -------------------------------- ### Create a volume with availability zone, size, and labels Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_volume_create.md This example shows how to create a volume with specified availability zone, size, and attach key-value labels. ```bash stackit volume create --availability-zone eu01-1 --size 64 --labels key=value,foo=bar ``` -------------------------------- ### List All OpenSearch Service Plans Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_opensearch_plans.md Use this command to retrieve a list of all available OpenSearch service plans. No specific setup is required beyond having the Stackit CLI installed and configured. ```bash stackit opensearch plans ``` -------------------------------- ### Example: Describe Security Group 'xxx' Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_security-group_describe.md This example demonstrates how to describe a security group with the ID 'xxx'. ```bash stackit security-group describe xxx ``` -------------------------------- ### Install Stackit CLI using Eget Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Installs the Stackit CLI using Eget, downloading binaries from GitHub releases based on the configuration in ~/.eget.toml. ```shell eget stackitcloud/stackit-cli ``` -------------------------------- ### Install Stackit CLI via FreeBSD Ports Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Install the Stackit CLI on FreeBSD using the ports system. ```shell cd /usr/ports/sysutils/stackit/ && make install clean ``` -------------------------------- ### Install Stackit CLI via Snapcraft Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Installs the Stackit CLI on Linux using Snapcraft. This command requires sudo privileges and the --classic flag. ```shell sudo snap install stackit --classic ``` -------------------------------- ### List All Observability Service Plans Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_plans.md Use this command to retrieve a list of all available Observability service plans. No special setup is required beyond having the Stackit CLI installed and configured. ```bash stackit observability plans ``` -------------------------------- ### List All SFS Performance Classes Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sfs_performance-class_list.md Use this command to list all available SFS performance classes for your project. No specific setup is required beyond having the stackit CLI installed and configured. ```bash stackit beta sfs performance-class list ``` -------------------------------- ### Install Stackit CLI using Mise Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Installs the Stackit CLI globally using the mise package manager. Ensure mise is installed and configured. ```shell mise u -g github:/stackitcloud/stackit-cli ``` -------------------------------- ### Service Account Credentials File Example Source: https://github.com/stackitcloud/stackit-cli/blob/main/AUTHENTICATION.md Example JSON structure for the STACKIT CLI credentials file. This file can be used to configure service account token and key path. ```json { "STACKIT_SERVICE_ACCOUNT_TOKEN": "foo_token", "STACKIT_SERVICE_ACCOUNT_KEY_PATH": "path/to/sa_key.json" } ``` -------------------------------- ### Example: Resize Volume to 10 GB Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_volume_resize.md Example of resizing a volume with ID 'xxx' to a new size of 10 GB. ```bash stackit volume resize xxx --size 10 ``` -------------------------------- ### Create a KMS key ring with description Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_kms_keyring_create.md This example shows how to create a KMS key ring and provide an optional description. ```bash stackit kms keyring create --name my-keyring --description my-description ``` -------------------------------- ### STACKIT CLI Example: Configure CLI Source: https://github.com/stackitcloud/stackit-cli/blob/main/README.md Demonstrates how to use the 'config' command to set variables for future STACKIT CLI commands. ```bash stackit config ``` -------------------------------- ### Create a Logs Instance with Description Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logs_instance_create.md This example shows how to create a Logs instance with a specific display name, retention period, and a descriptive text. ```bash stackit logs instance create --display-name "my-instance" --retention-days 10 --description "Description of the instance" ``` -------------------------------- ### Install Stackit CLI via FreeBSD Packages Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Install the Stackit CLI on FreeBSD using the pkg package manager. ```shell pkg install sysutils/stackit ``` ```shell pkg install stackit ``` -------------------------------- ### Create a new Intake with description, labels, and Dremio authentication Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_intake_create.md This example demonstrates creating an Intake with additional metadata like description and labels, and configuring Dremio authentication. ```bash stackit beta intake create --display-name my-intake --runner-id xxx --description "Production intake" --labels "env=prod,team=billing" --catalog-auth-type "dremio" --catalog-uri "http://dremio.example.com" --catalog-warehouse "my-warehouse" --dremio-token-endpoint "https://auth.dremio.cloud/oauth/token" --dremio-pat "MY_TOKEN" ``` -------------------------------- ### Create a Server with a Network Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_create.md Specify the network ID for the server's initial network setup. ```bash stackit server create --machine-type t1.1 --name server1 --image-id xxx --network-id yyy ``` -------------------------------- ### Install Prerequisites for APT Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Updates package lists and installs curl and gnupg, which are required before adding the Stackit APT repository. Requires sudo privileges. ```shell sudo apt-get update sudo apt-get install curl gnupg ``` -------------------------------- ### STACKIT CLI Example: Describe SKE Cluster Source: https://github.com/stackitcloud/stackit-cli/blob/main/README.md Example of how to describe a specific STACKIT Kubernetes Engine (SKE) cluster. Requires the project ID and can output in JSON format. ```bash stackit ske cluster describe my-cluster --project-id xxx --output-format json ``` -------------------------------- ### List all LogMe service plans Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logme_plans.md Use this command to list all available LogMe service plans. No special setup is required. ```bash stackit logme plans ``` -------------------------------- ### Install Stackit CLI via APT Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Updates repository information and installs the stackit package using APT. Requires sudo privileges. If the key has expired, re-import the latest key. ```shell sudo apt-get update sudo apt-get install stackit ``` -------------------------------- ### Get Load Balancer Quota Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_load-balancer_quota.md Retrieves the configured load balancer quota for the project. No specific setup is required beyond having the Stackit CLI installed and configured. ```bash stackit load-balancer quota ``` -------------------------------- ### Get DNS Zones Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_curl.md Retrieves all DNS zones for a specified project using a GET request. This is a basic usage example. ```bash stackit curl https://dns.api.stackit.cloud/v1/projects/xxx/zones ``` -------------------------------- ### Create a Server with User Data (cloud-init) Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_create.md Provide user data, typically a cloud-init configuration script, to customize the server upon first boot. The path to the user data file is specified. ```bash stackit server create --machine-type t1.1 --name server1 --boot-volume-source-id xxx --boot-volume-source-type image --boot-volume-size 64 --user-data @path/to/file.yaml ``` -------------------------------- ### Create a routing-table with name and description Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_network-area_routing-table_create.md This example shows how to create a routing-table and include a descriptive text. Provide the organization ID, network-area ID, routing-table name, and the description. ```bash stackit network-area routing-table create --organization-id xxx --network-area-id yyy --name "rt" --description "some description" ``` -------------------------------- ### List all Intakes Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_intake_list.md Use this command to list all available Intakes for the current project. No special setup is required. ```bash stackit beta intake list ``` -------------------------------- ### Create a Server with a Boot Volume from an Image Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_create.md Configure a boot volume for the server, specifying its source image and size. The volume will be deleted on server termination by default. ```bash stackit server create --machine-type t1.1 --name server1 --boot-volume-source-id xxx --boot-volume-source-type image --boot-volume-size 64 ``` -------------------------------- ### Unlock Object Storage Compliance Lock Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_object-storage_compliance-lock_unlock.md Use this command to delete an object storage compliance lock. No specific setup is required beyond having the Stackit CLI installed and configured. ```bash stackit object-storage compliance-lock unlock ``` -------------------------------- ### Create a Server with a Boot Volume from an Existing Volume Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_create.md Use an existing volume as the boot volume source for your new server. ```bash stackit server create --machine-type t1.1 --name server1 --boot-volume-source-id xxx --boot-volume-source-type volume ``` -------------------------------- ### Install Stackit CLI using Nix Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Installs the Stackit CLI using the Nix package manager. This command makes the stackit-cli available in the current shell environment. ```shell nix-shell -p stackit-cli ``` -------------------------------- ### Stackit Redis Instance Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_redis_instance.md Provides help for the 'stackit redis instance' command. ```bash -h, --help Help for "stackit redis instance" ``` -------------------------------- ### List All Object Storage Buckets Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_object-storage_bucket_list.md Use this command to retrieve a list of all Object Storage buckets within your project. No special setup is required beyond having the Stackit CLI installed and configured. ```bash stackit object-storage bucket list ``` -------------------------------- ### Stackit MongoDB Flex Instance CLI Help Option Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mongodbflex_instance.md Displays help information for the 'stackit mongodbflex instance' command. ```bash -h, --help Help for "stackit mongodbflex instance" ``` -------------------------------- ### Describe an SFS share with ID and resource pool ID Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sfs_share_describe.md Use this command to get details of a specific SFS share by providing its ID and the ID of the resource pool it belongs to. Ensure you have the stackit CLI installed and configured. ```bash stackit beta sfs share describe xxx --resource-pool-id yyy ``` -------------------------------- ### RabbitMQ Instance Command Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_rabbitmq_instance.md Help flag for the 'stackit rabbitmq instance' command. ```bash -h, --help Help for "stackit rabbitmq instance" ``` -------------------------------- ### List Configuration Profiles Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_config_profile_list.md Use this command to list all available CLI configuration profiles. No special setup is required. ```bash stackit config profile list ``` -------------------------------- ### Example: Delete RabbitMQ Instance Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_rabbitmq_instance_delete.md Example of how to delete a RabbitMQ instance with a specific ID. ```bash stackit rabbitmq instance delete xxx ``` -------------------------------- ### Stackit RabbitMQ CLI Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_rabbitmq.md Use the help flag to get more information about the 'stackit rabbitmq' command. ```bash stackit rabbitmq --help ``` -------------------------------- ### Stackit Beta Edge Cloud Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_edge-cloud.md Shows help information for the 'stackit beta edge-cloud' command. ```bash -h, --help Help for "stackit beta edge-cloud" ``` -------------------------------- ### Example: Delete Observability Instance Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_instance_delete.md This example demonstrates how to delete an Observability instance with a specific ID. ```bash stackit Observability instance delete xxx ``` -------------------------------- ### Create OpenSearch Instance with Plan by Name and Version Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_opensearch_instance_create.md Use this command to create an OpenSearch instance, specifying the instance name, plan name, and OpenSearch version. ```bash stackit opensearch instance create --name my-instance --plan-name stackit-opensearch-1.2.10-replica --version 2 ``` -------------------------------- ### Example: Delete MariaDB Instance Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mariadb_instance_delete.md Example of deleting a MariaDB instance with the ID "xxx". ```bash stackit mariadb instance delete xxx ``` -------------------------------- ### Create LogMe Instance Credentials and Show Password Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logme_credentials_create.md To create credentials and immediately view the generated password, use the --show-password flag in addition to the --instance-id flag. ```bash stackit logme credentials create --instance-id xxx --show-password ``` -------------------------------- ### Create a Server with Labels Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_create.md Attach key-value labels to your server during creation. Labels can be used for organization and filtering. ```bash stackit server create --machine-type t1.1 --name server1 --image-id xxx --labels key=value,foo=bar ``` -------------------------------- ### Example: Delete a Scrape Configuration Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_scrape-config_delete.md Example of how to delete a specific scrape configuration job by its name and instance ID. ```bash Delete a scrape configuration job with name "my-config" from Observability instance "xxx" $ stackit observability scrape-config delete my-config --instance-id xxx ``` -------------------------------- ### SQLServer Flex Database CLI Help Option Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sqlserverflex_database.md Use the help flag to get more information about the database command. ```bash stackit beta sqlserverflex database --help ``` -------------------------------- ### Create MariaDB Instance with Plan Name and Version Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mariadb_instance_create.md Use this command to create a MariaDB instance by specifying the plan name and MariaDB version. ```bash stackit mariadb instance create --name my-instance --plan-name stackit-mariadb-1.2.10-replica --version 10.6 ``` -------------------------------- ### Example: Delete MongoDB Flex User Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mongodbflex_user_delete.md Example of deleting a MongoDB Flex user with a specific ID for a given instance. ```bash stackit mongodbflex user delete xxx --instance-id yyy ``` -------------------------------- ### Stackit Server Backup Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_backup.md Displays help information for the 'stackit server backup' command. ```bash stackit server backup -h ``` -------------------------------- ### Create LogMe Instance by Plan Name and Version Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logme_instance_create.md Use this command to create a LogMe instance by specifying the plan name and version. Ensure the plan name and version are correct for your desired configuration. ```bash stackit logme instance create --name my-instance --plan-name stackit-logme2-1.2.50-replica --version 2 ``` -------------------------------- ### Get Details of STACKIT Project by ID Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_project_describe.md Provide the specific project ID to get details for a particular STACKIT project. ```bash stackit project describe xxx ``` -------------------------------- ### Stackit CLI CDN Command Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_cdn.md Use the help flag to get more information about the 'stackit beta cdn' command. ```bash stackit beta cdn -h ``` -------------------------------- ### Example: Unrescue a Server Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_unrescue.md This example demonstrates how to unrescue a server with a specific ID. Ensure you replace 'xxx' with the correct server ID. ```bash stackit server unrescue xxx ``` -------------------------------- ### OpenSearch Instance CLI Help Option Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_opensearch_instance.md Displays help information for the 'stackit opensearch instance' command. ```bash stackit opensearch instance --help ``` -------------------------------- ### STACKIT CLI Example: Delete DNS Zone Source: https://github.com/stackitcloud/stackit-cli/blob/main/README.md Example of how to delete a DNS zone. This command requires the zone ID as an argument. ```bash stackit dns zone delete my-zone ``` -------------------------------- ### Restore Server Backup and Start Server Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_backup_restore.md This command restores a server backup and automatically starts the server once the restore is complete. The operation is asynchronous. ```bash stackit server backup restore xxx --server-id=zzz --start-server-after-restore ``` -------------------------------- ### Stackit CLI Service Account Key Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_service-account_key.md Displays help information for the 'stackit service-account key' command. ```bash stackit service-account key --help ``` -------------------------------- ### Stackit Volume Performance-Class Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_volume_performance-class.md Provides help for the 'stackit volume performance-class' command. Use the -h or --help flags for assistance. ```bash stackit volume performance-class -h ``` -------------------------------- ### Example: Complete SKE Cluster Credential Rotation Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_ske_credentials_complete-rotation.md Example of completing the credential rotation for an SKE cluster named "my-cluster". ```bash stackit ske credentials complete-rotation my-cluster ``` -------------------------------- ### Example: Disable SSO for Grafana Instance Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_grafana_single-sign-on_disable.md Example of disabling single sign-on for Grafana on an Observability instance with the ID "xxx". ```bash stackit observability grafana single-sign-on disable xxx ``` -------------------------------- ### Stackit Beta Intake Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_intake.md Provides help for the 'stackit beta intake' command. ```bash stackit beta intake -h stackit beta intake --help ``` -------------------------------- ### Install Scoop and Stackit CLI on Windows Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Installs the Scoop package manager and then the Stackit CLI on Windows. Requires PowerShell execution policy adjustment. ```powershell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression scoop install stackit ``` -------------------------------- ### PostgreSQL Flex Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_postgresflex.md Displays help information for the 'stackit postgresflex' command. ```bash -h, --help Help for "stackit postgresflex" ``` -------------------------------- ### Stackit Image CLI Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_image.md Provides help for the 'stackit image' command. ```bash stackit image --help ``` -------------------------------- ### Stackit Project CLI Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_project.md Standard help flag for the 'stackit project' command. ```bash stackit project -h ``` -------------------------------- ### Install Stackit CLI via Zypper Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Installs the Stackit CLI package using the Zypper package manager after the repository has been added. Requires sudo privileges. ```shell sudo zypper install stackit ``` -------------------------------- ### Describe a regional configuration using set region config Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_network-area_region_describe.md This example shows how to first set the default region using 'stackit config set' and then describe a regional configuration. This is useful when you frequently operate within a specific region. ```bash stackit config set --region eu02 stackit network-area region describe --network-area-id xxx --organization-id yyy ``` -------------------------------- ### Install Stackit CLI via Homebrew Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Installs the Stackit CLI as a cask package on macOS using Homebrew. Requires the Stackit Homebrew tap to be registered. ```shell brew install --cask stackit ``` -------------------------------- ### Create Redis Instance by Plan Name and Version Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_redis_instance_create.md Use this command to create a Redis instance by specifying the plan name and Redis version. ```bash stackit redis instance create --name my-instance --plan-name stackit-redis-1.2.10-replica --version 6 ``` -------------------------------- ### Stackit Git Flavor Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_git_flavor.md Displays help information for the 'stackit git flavor' command. ```bash -h, --help Help for "stackit git flavor" ``` -------------------------------- ### Tap Stackit Homebrew Repository Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Registers the Stackit Homebrew tap to enable installation of the CLI on macOS. This command should be run before installing the CLI via Homebrew. ```shell brew tap stackitcloud/tap ``` -------------------------------- ### SQLServer Flex User CLI Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sqlserverflex_user.md Use the help flag to get assistance for the 'stackit beta sqlserverflex user' command. ```bash -h, --help Help for "stackit beta sqlserverflex user" ``` -------------------------------- ### Example: Enable SSO for a Specific Instance Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_grafana_single-sign-on_enable.md This example demonstrates how to enable single sign-on for Grafana on an Observability instance identified by the ID "xxx". ```bash stackit observability grafana single-sign-on enable xxx ``` -------------------------------- ### Install Stackit CLI via DNF/YUM Source: https://github.com/stackitcloud/stackit-cli/blob/main/INSTALLATION.md Installs the Stackit CLI package using the DNF or YUM package manager after the repository has been added. Requires sudo privileges. ```shell sudo dnf install stackit ``` -------------------------------- ### Object Storage CLI Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_object-storage.md Help flag for the 'stackit object-storage' command. ```bash stackit object-storage -h, --help Help for "stackit object-storage" ``` -------------------------------- ### Basic Command File Structure Source: https://github.com/stackitcloud/stackit-cli/blob/main/CONTRIBUTING.md Illustrates a typical structure for a STACKIT CLI command file. ```go package bar import ( "fmt" "github.com/spf13/cobra" "github.com/stackitcloud/stackit-cli/internal/pkg/cmd" "github.com/stackitcloud/stackit-cli/internal/pkg/flags" "github.com/stackitcloud/stackit-cli/internal/pkg/print" ) const ( flagName = "flag-name" flagUsage = "Usage of flag-name" ) func NewCmd(p *print.Printer) *cobra.Command { return &cobra.Command{ Use: "bar", Short: "Short description of the bar command", Long: "Long description of the bar command.", Args: cmd.MaxArgs(0), // Example: No arguments allowed Run: func(cmd *cobra.Command, args []string) { // Get flag value flagVal, _ := cmd.Flags().GetString(flagName) // Example: Print info message p.Info(fmt.Sprintf("Bar command executed with flag: %s", flagVal)) // Example: Print output message p.Outputf("Output: %s\n", flagVal) // Example: Debug log p.Debug(fmt.Sprintf("Debug info: flagVal=%s", flagVal)) }, } } func addSubcommands(parent *cobra.Command, p *print.Printer) { // Example: Add subcommands if any } ``` -------------------------------- ### Display Help for STACKIT Beta Commands Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta.md Use this command to see the available beta commands and their usage. ```bash stackit beta --help ``` -------------------------------- ### Example: Trigger Maintenance for a Specific Cluster Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_ske_cluster_maintenance.md This example shows how to trigger maintenance for an SKE cluster named "my-cluster". The command will prompt for confirmation unless the `--assume-yes` flag is used. ```bash stackit ske cluster maintenance my-cluster ``` -------------------------------- ### Delete a server with specific output format Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_delete.md This example shows how to delete a server and specify the output format. Supported formats include 'json', 'pretty', 'none', and 'yaml'. ```bash stackit server delete xxx --output-format json ``` -------------------------------- ### Create SQLServer Flex Instance by CPU and RAM Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sqlserverflex_instance_create.md Use this command to create a SQLServer Flex instance by specifying the name, CPU, and RAM. Other parameters will be set to their default values. ```bash stackit beta sqlserverflex instance create --name my-instance --cpu 1 --ram 4 ``` -------------------------------- ### Get PostgreSQL Flex user details in JSON format Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_postgresflex_user_describe.md To get user details in JSON format, append the --output-format json flag to the describe command. This is useful for programmatic processing of the output. ```bash stackit postgresflex user describe xxx --instance-id yyy --output-format json ``` -------------------------------- ### Create a STACKIT project Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_project_create.md Use this command to create a basic STACKIT project. You must provide a parent ID and a project name. ```bash stackit project create --parent-id xxxx --name my-project ``` -------------------------------- ### Get MongoDB Flex backup details in JSON format Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mongodbflex_backup_describe.md To get backup details in JSON format, append the --output-format json flag to the describe command. This is useful for programmatic processing of the backup information. ```bash stackit mongodbflex backup describe xxx --instance-id yyy --output-format json ``` -------------------------------- ### Create a STACKIT project with labels Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_project_create.md This command creates a STACKIT project and attaches key-value labels to it. Multiple labels can be added using the --label flag repeatedly. ```bash stackit project create --parent-id xxxx --name my-project --label key=value --label foo=bar ``` -------------------------------- ### Stackit CLI Beta ALB Quotas Help Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_alb_quotas.md Displays help information for the 'stackit beta alb quotas' command. ```bash stackit beta alb quotas --help ``` -------------------------------- ### Describe a key pair Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_key-pair_describe.md Use this command to get details about a key pair by its name. ```bash stackit key-pair describe KEY_PAIR_NAME ``` -------------------------------- ### Get Intake Runner Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_intake_runner_describe.md Retrieves details for a specific Intake Runner by its ID. ```bash stackit beta intake runner describe xxx ``` -------------------------------- ### Get Server Console Log Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_log.md Retrieves the console log for a specific server using its ID. ```bash stackit server log xxx ``` -------------------------------- ### PostgreSQL Flex Instance Command Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_postgresflex_instance.md Use the help flag to display help information for the 'stackit postgresflex instance' command. ```bash stackit postgresflex instance -h ``` -------------------------------- ### Stackit CLI Git Instance Help Option Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_git_instance.md Use this flag to display help information specific to the 'stackit git instance' command. ```bash -h, --help Help for "stackit git instance" ``` -------------------------------- ### Get Redis Instance Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_redis_instance_describe.md Retrieves details for a specific Redis instance using its ID. ```bash stackit redis instance describe xxx ``` -------------------------------- ### Get Backup Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_postgresflex_backup_describe.md Retrieves details for a specific backup using its ID and the instance ID. ```bash stackit postgresflex backup describe xxx --instance-id yyy ``` -------------------------------- ### Stackit SKE Credentials Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_ske_credentials.md Displays help information for the 'stackit ske credentials' command. ```bash -h, --help Help for "stackit ske credentials" ``` -------------------------------- ### Stackit CLI Help Option Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_edge-cloud_kubeconfig.md Displays help information for the 'stackit beta edge-cloud kubeconfig' command. ```bash -h, --help Help for "stackit beta edge-cloud kubeconfig" ``` -------------------------------- ### Get OpenSearch Instance Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_opensearch_instance_describe.md Retrieves details for a specified OpenSearch instance using its ID. ```bash stackit opensearch instance describe xxx ``` -------------------------------- ### Get Observability Instance Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_instance_describe.md Retrieves the details of a specific Observability instance using its ID. ```bash stackit observability instance describe xxx ``` -------------------------------- ### Create a STACKIT Git instance with name and flavor Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_git_instance_create.md Create a STACKIT Git instance by providing both the name and the desired flavor. ```bash stackit git instance create --name my-new-instance --flavor git-100 ``` -------------------------------- ### Create a Server from an Image Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_create.md Use this snippet to create a server specifying the machine type, name, and image ID. ```bash stackit server create --machine-type t1.1 --name server1 --image-id xxx ``` -------------------------------- ### Stackit CLI Help Option Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_alb_observability-credentials.md Displays help information for the 'stackit beta alb observability-credentials' command. ```bash stackit beta alb observability-credentials -h ``` -------------------------------- ### Get List of All Machine Types Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_machine-type_list.md Use this command to retrieve all available machine types in the current project. ```bash stackit server machine-type list ``` -------------------------------- ### Stackit CLI Beta SFS Help Option Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sfs.md Displays help information for the 'stackit beta sfs' command. ```bash -h, --help Help for "stackit beta sfs" ``` -------------------------------- ### Get Server Backup Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_backup_describe.md Use this command to retrieve details for a specific Server Backup by its ID. ```bash stackit server backup describe my-backup-id ``` -------------------------------- ### Get Backup Details in JSON Format Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_postgresflex_backup_describe.md Retrieves details for a specific backup and formats the output as JSON. ```bash stackit postgresflex backup describe xxx --instance-id yyy --output-format json ``` -------------------------------- ### STACKIT Edge Cloud Plans Command Help Option Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_edge-cloud_plans.md Use this flag to display help information specific to the 'stackit beta edge-cloud plans' command. ```bash -h, --help Help for "stackit beta edge-cloud plans" ``` -------------------------------- ### Get Intake Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_intake_describe.md Retrieves the details of a specific Intake using its ID. This is the basic usage of the command. ```bash stackit beta intake describe xxx ``` -------------------------------- ### Stackit Server Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server.md Provides help information specific to the 'stackit server' command. ```bash stackit server -h, --help Help for "stackit server" ``` -------------------------------- ### Stackit CLI Beta Intake Runner Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_intake_runner.md Provides help for the 'stackit beta intake runner' command. Use this to see available flags for this specific command. ```bash stackit beta intake runner --help ``` -------------------------------- ### Stackit CLI Organization Command Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_organization.md The base command for managing organizations. Use this as a starting point for organization-related operations. ```bash stackit organization [flags] ``` -------------------------------- ### Stackit Server Volume CLI Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_volume.md Provides help for the 'stackit server volume' command. Use this to see available flags for the main volume command. ```bash -h, --help Help for "stackit server volume" ``` -------------------------------- ### Describe a Stackit Volume Backup Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_volume_backup_describe.md Get details of a backup by its ID. This is the basic command to retrieve backup information. ```bash stackit volume backup describe xxx ``` -------------------------------- ### MariaDB Instance Command Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mariadb_instance.md Use the help flag to display help information for the 'stackit mariadb instance' command. ```bash stackit mariadb instance --help ``` -------------------------------- ### Describe PostgreSQL Flex Instance Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_postgresflex_instance_describe.md Get details of a PostgreSQL Flex instance by its ID. This is the basic usage of the command. ```bash stackit postgresflex instance describe xxx ``` -------------------------------- ### Create OpenSearch Instance with Plan by ID Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_opensearch_instance_create.md Use this command to create an OpenSearch instance, specifying the instance name and plan ID. ```bash stackit opensearch instance create --name my-instance --plan-id xxx ``` -------------------------------- ### Stackit CLI Observability Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability.md Use the help flag to get assistance for the 'stackit observability' command. ```bash stackit observability --help ``` -------------------------------- ### Stackit LogMe Instance CLI Synopsis Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logme_instance.md This is the general command structure for interacting with LogMe instances. ```bash stackit logme instance [flags] ``` -------------------------------- ### Get Logs Instance Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logs_instance_describe.md Retrieves details for a Logs instance using its ID. This is the basic usage of the command. ```bash stackit logs instance describe xxx ``` -------------------------------- ### Create MariaDB Instance Credentials and Show Password Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mariadb_credentials_create.md Use this command to create credentials for a MariaDB instance and display the password in the output. You must provide the instance ID. ```bash stackit mariadb credentials create --instance-id xxx --show-password ``` -------------------------------- ### Create a new configuration profile with default settings and no activation Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_config_profile_create.md Creates a new configuration profile named 'my-profile' with default initial configurations and does not set it as the active profile. ```bash stackit config profile create my-profile --empty --no-set ``` -------------------------------- ### Get MariaDB Instance Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mariadb_instance_describe.md Retrieves details for a MariaDB instance using its ID. This is the basic usage of the command. ```bash stackit mariadb instance describe xxx ``` -------------------------------- ### Stackit CLI Beta Edge Cloud Token Help Flags Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_edge-cloud_token.md Provides help information for the 'stackit beta edge-cloud token' command. ```bash -h, --help Help for "stackit beta edge-cloud token" ``` -------------------------------- ### Describe LogMe Credentials Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logme_credentials_describe.md Get details of credentials with a specific ID from a LogMe instance. The instance ID is required. ```bash stackit logme credentials describe xxx --instance-id yyy ``` -------------------------------- ### Get DNS Zone Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_dns_zone_describe.md Retrieves details for a DNS zone using its ID. This is the basic usage of the command. ```bash stackit dns zone describe xxx ``` -------------------------------- ### Create Image from Qcow2 Disk with Labels Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_image_create.md Create an image from a local qcow2 disk file and attach labels to describe its contents. Labels are provided as key-value pairs. ```bash stackit image create --name my-new-image --disk-format=qcow2 --local-file-path=/my/qcow2/image --labels os=linux,distro=alpine,version=3.12 ``` -------------------------------- ### Create a Server with Attached Volumes Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_create.md Attach existing volumes to the server at creation time. ```bash stackit server create --machine-type t1.1 --name server1 --boot-volume-source-id xxx --boot-volume-source-type image --boot-volume-size 64 --volumes yyy ``` -------------------------------- ### MariaDB CLI Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mariadb.md Lists the help flag for the MariaDB CLI. ```bash -h, --help Help for "stackit mariadb" ``` -------------------------------- ### Describe a CDN Distribution by ID Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_cdn_distribution_describe.md Use this command to get details of a specific CDN distribution by providing its ID. ```bash stackit beta cdn distribution describe xxx ``` -------------------------------- ### Stackit Object Storage Bucket Help Flags Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_object-storage_bucket.md Help flag for the 'stackit object-storage bucket' command. ```bash stackit object-storage bucket --help ``` -------------------------------- ### Describe Network Interface Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_network-interface_describe.md Describes a network interface by its ID and network ID. Ensure you have the stackit CLI installed and configured. ```bash stackit network-interface describe xxx --network-id yyy ``` -------------------------------- ### PostgreSQL Flex Instance Command Synopsis Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_postgresflex_instance.md This is the general synopsis for the stackit postgresflex instance command. Use this as a base for all instance-related operations. ```bash stackit postgresflex instance [flags] ``` -------------------------------- ### List SKE Kubernetes Versions Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_ske_options_kubernetes-versions.md Lists all available SKE provider options for Kubernetes versions. Use this command to see all possible configurations. ```bash stackit ske options kubernetes-versions ``` -------------------------------- ### Describe an image Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_image_describe.md Use this command to describe a specific image by providing its ID. Ensure you have the stackit CLI installed and configured. ```bash stackit image describe xxx ``` -------------------------------- ### Create RabbitMQ Instance by Plan Name and Version Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_rabbitmq_instance_create.md Use this snippet to create a RabbitMQ instance by specifying the plan name and RabbitMQ version. Ensure the plan name and version are valid for your Stackit environment. ```bash stackit rabbitmq instance create --name my-instance --plan-name stackit-rabbitmq-1.2.10-replica --version 3.10 ``` -------------------------------- ### PostgresFlex Backup CLI Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_postgresflex_backup.md Shows help information for the 'stackit postgresflex backup' command. ```bash stackit postgresflex backup --help ``` -------------------------------- ### Describe a SKE Cluster Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_ske_cluster_describe.md Use this command to get details of a SKE cluster by its name. Ensure the cluster name is accurate. ```bash stackit ske cluster describe my-cluster ``` -------------------------------- ### Create Observability Instance by Plan Name Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_instance_create.md Use this command to create an Observability instance, specifying the instance name and the plan name. ```bash stackit observability instance create --name my-instance --plan-name Monitoring-Starter-EU01 ``` -------------------------------- ### Describe Server Volume Attachment Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_volume_describe.md Get details of the attachment of a volume to a server. Requires the volume ID and server ID. ```bash stackit server volume describe xxx --server-id yyy ``` -------------------------------- ### Get Server Console Log in JSON Format Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_log.md Retrieves the console log for a specific server and formats the output as JSON. ```bash stackit server log xxx --output-format json ``` -------------------------------- ### Stackit MongoDB Flex Backup Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mongodbflex_backup.md Standard help flag for the backup command. ```bash stackit mongodbflex backup --help ``` -------------------------------- ### Get Server Command Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_command_describe.md Retrieves details for a specific server command using its ID and the associated server ID. ```bash stackit server command describe xxx --server-id=yyy ``` -------------------------------- ### Get Server Console URL Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_console.md Retrieves the remote console URL for a given server ID. This is the basic usage of the command. ```bash stackit server console xxx ``` -------------------------------- ### Stackit CLI SFS Share Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sfs_share.md Help options specific to the 'stackit beta sfs share' command. ```bash -h, --help Help for "stackit beta sfs share" ``` -------------------------------- ### Describe Secrets Manager User Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_secrets-manager_user_describe.md Get details of a Secrets Manager user by providing the user ID and instance ID. ```bash stackit secrets-manager user describe xxx --instance-id yyy ``` -------------------------------- ### Stackit Server Machine Type Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_machine-type.md Displays help information for the 'stackit server machine-type' command. ```bash stackit server machine-type -h ``` -------------------------------- ### Get Redis Instance Details in JSON Format Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_redis_instance_describe.md Retrieves details for a specific Redis instance and formats the output as JSON. ```bash stackit redis instance describe xxx --output-format json ``` -------------------------------- ### Stackit Secrets Manager CLI Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_secrets-manager.md Use the help flag to get assistance for the 'stackit secrets-manager' command. ```bash -h, --help Help for "stackit secrets-manager" ``` -------------------------------- ### Get Redis Credentials Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_redis_credentials_describe.md Retrieve details for a specific Redis instance credential using its ID and the instance ID. ```bash stackit redis credentials describe xxx --instance-id yyy ``` -------------------------------- ### Stackit LogMe Instance CLI Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logme_instance.md These are the specific options available for the 'stackit logme instance' command. ```bash -h, --help Help for "stackit logme instance" ``` -------------------------------- ### Stackit CLI Quota Command Help Flag Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_quota.md Use the help flag to get more information about the 'stackit quota' command. ```bash -h, --help Help for "stackit quota" ``` -------------------------------- ### Get Details of Configured STACKIT Project Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_project_describe.md Use this command to retrieve details for the STACKIT project that is currently configured in your environment. ```bash stackit project describe ``` -------------------------------- ### List all SQLServer Flex instances Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sqlserverflex_instance_list.md Use this command to list all SQLServer Flex instances in the default output format. ```bash stackit beta sqlserverflex instance list ``` -------------------------------- ### Create OpenSearch Credentials and Show Password Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_opensearch_credentials_create.md To create credentials and immediately see the generated password, use the `--show-password` flag along with the instance ID. ```bash stackit opensearch credentials create --instance-id xxx --show-password ``` -------------------------------- ### Get OpenSearch Instance Details in JSON Format Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_opensearch_instance_describe.md Retrieves details for a specified OpenSearch instance and formats the output as JSON. ```bash stackit opensearch instance describe xxx --output-format json ``` -------------------------------- ### Create a Server with Network Interface IDs Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_server_create.md Attach specific network interfaces to the server during its creation. ```bash stackit server create --machine-type t1.1 --name server1 --boot-volume-source-id xxx --boot-volume-source-type image --boot-volume-size 64 --network-interface-ids yyy ``` -------------------------------- ### Get scrape configuration details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_scrape-config_describe.md Retrieves details for a scrape configuration named 'my-config' from an Observability instance identified by 'xxx'. ```bash stackit observability scrape-config describe my-config --instance-id xxx ``` -------------------------------- ### Get Observability Instance Details in JSON Format Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_observability_instance_describe.md Retrieves the details of a specific Observability instance and formats the output as JSON. ```bash stackit observability instance describe xxx --output-format json ``` -------------------------------- ### Create a service account key with a public key file Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_service-account_key_create.md Use this command to create a service account key when you provide your own public key. The public key must be in x509 format and can be specified directly or via a path to a .pem file. ```bash stackit service-account key create --email my-service-account-1234567@sa.stackit.cloud --public-key @./public.pem ``` -------------------------------- ### Execute a STACKIT Beta Command Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta.md This is the general syntax for executing any beta command. Replace MY_COMMAND with the specific beta command you wish to run. ```bash stackit beta MY_COMMAND ``` -------------------------------- ### Describe a MongoDB Flex user Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_mongodbflex_user_describe.md Get details of a MongoDB Flex user by providing the user ID and instance ID. ```bash stackit mongodbflex user describe xxx --instance-id yyy ``` -------------------------------- ### RabbitMQ Instance CLI Synopsis Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_rabbitmq_instance.md The main command for interacting with RabbitMQ instances. ```bash stackit rabbitmq instance [flags] ``` -------------------------------- ### Get Target Pool Details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_load-balancer_target-pool_describe.md Retrieves details for a target pool named 'pool' within the load balancer 'my-load-balancer'. ```bash stackit load-balancer target-pool describe pool --lb-name my-load-balancer ``` -------------------------------- ### Get SQLServer Flex database details Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_beta_sqlserverflex_database_describe.md Retrieves details for a specific SQLServer Flex database by its name and instance ID. ```bash stackit beta sqlserverflex database describe my-database --instance-id xxx ``` -------------------------------- ### Create a snapshot with labels Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_volume_snapshot_create.md Use this command to create a snapshot and attach key-value labels for organization. Labels are provided as comma-separated pairs. ```bash stackit volume snapshot create --volume-id xxx --labels key1=value1,key2=value2 ``` -------------------------------- ### Registering a New Sub-command Source: https://github.com/stackitcloud/stackit-cli/blob/main/CONTRIBUTING.md Demonstrates how to register a new command as a sub-command of an existing command. ```go func addSubcommands(parent *cobra.Command, p *print.Printer) { parent.AddCommand(bar.NewCmd(p)) } ``` -------------------------------- ### Start SKE Cluster Credential Rotation Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_ske_credentials_start-rotation.md Initiates the credential rotation for a SKE cluster by its name. This is the first step in a two-step process. ```bash stackit ske credentials start-rotation CLUSTER_NAME ``` -------------------------------- ### Stackit CLI Logs Instance Help Options Source: https://github.com/stackitcloud/stackit-cli/blob/main/docs/stackit_logs_instance.md These are the specific options available for the 'stackit logs instance' command, including help flags. ```bash -h, --help Help for "stackit logs instance" ```