### Example Usage of Scenario Guide Source: https://github.com/azure/azure-cli-extensions/blob/main/src/scenario-guide/README.rst Demonstrates how to use the 'scenario-guide' extension to query for 'scale server' scenarios. ```bash az scenario guide "scale server" --top 10 --scope scenario ``` -------------------------------- ### Install AI Examples Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/ai-examples/README.md Install the AI Examples extension for the Azure CLI to enhance command help with AI-generated examples. ```bash az extension add --name ai-examples ``` -------------------------------- ### Scenario: Setup CloudHSM with Backup Strategy Source: https://github.com/azure/azure-cli-extensions/blob/main/src/cloudhsm/README.md Example demonstrating the creation of a CloudHSM cluster followed by an initial backup operation. ```bash # 1. Create CloudHSM az cloudhsm create \ --resource-group myResourceGroup \ --name myCloudHSM \ --location eastus2 \ --sku Standard_B1 # 2. Start initial backup az cloudhsm backup start \ --resource-group myResourceGroup \ --cluster-name myCloudHSM \ --blob-container-uri "https://mystorageaccount.blob.core.windows.net/backups" ``` -------------------------------- ### View and Select VM Create Example Source: https://github.com/azure/azure-cli-extensions/blob/main/src/interactive/README.md Type 'vm create' to see available examples. Scroll through examples using Control Y (up) and Control N (down). Select a specific example using its number. ```bash $ vm create ``` ```bash $ vm create :: [Example Number] ``` -------------------------------- ### Setting up Azure Local Migration Source: https://github.com/azure/azure-cli-extensions/blob/main/src/migrate/README.md This workflow guides through the setup of Azure Local Migration, including checking prerequisites, setting up the environment, authentication, context configuration, verification, initialization, server discovery, replication creation, and job monitoring. ```bash # 1. Check prerequisites az migrate check-prerequisites # 2. Set up environment with PowerShell az migrate setup-env --install-powershell # 3. Authenticate to Azure az migrate auth login # 4. Set subscription context az migrate auth set-context --subscription-id "your-subscription-id" # 5. Verify setup az migrate verify-setup --resource-group "migration-rg" --project-name "azure-local-migration" # 6. Initialize Azure Local replication infrastructure az migrate local init \ --resource-group "migration-rg" \ --project-name "azure-local-migration" # 7. List discovered servers az migrate server list-discovered \ --resource-group "migration-rg" \ --project-name "azure-local-migration" \ --source-machine-type VMware # 8. Create replication for a specific server az migrate local create-replication \ --resource-group "migration-rg" \ --project-name "azure-local-migration" \ --server-index 0 \ --target-vm-name "WebServer-Migrated" \ --target-storage-path-id "/subscriptions/xxx/providers/Microsoft.AzureStackHCI/storageContainers/migration-storage" \ --target-virtual-switch-id "/subscriptions/xxx/providers/Microsoft.AzureStackHCI/logicalnetworks/migration-network" \ --target-resource-group-id "/subscriptions/xxx/resourceGroups/azure-local-vms" # 9. Monitor replication progress az migrate local get-job --resource-group "migration-rg" --project-name "azure-local-migration" --job-id "job-id" # 10. Start migration when ready az migrate local start-migration --target-object-id "replication-id" --turn-off-source-server # 11. Monitor migration job az migrate local get-azure-local-job --resource-group "migration-rg" --project-name "azure-local-migration" --job-id "job-id" ``` -------------------------------- ### Scenario: Disaster Recovery Setup Source: https://github.com/azure/azure-cli-extensions/blob/main/src/cloudhsm/README.md Example for disaster recovery, involving the creation of a new CloudHSM cluster and restoring from a backup. ```bash # 1. Create new CloudHSM cluster az cloudhsm create \ --resource-group myDRResourceGroup \ --name myDRCloudHSM \ --location westus2 \ --sku Standard_B1 # 2. Restore from backup az cloudhsm restore start \ --resource-group myDRResourceGroup \ --cluster-name myDRCloudHSM \ --backup-id your-backup-id \ --blob-container-uri "https://mystorageaccount.blob.core.windows.net/backups" ``` -------------------------------- ### Install storage-blob-preview Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/storage-blob-preview/README.md Install the 'storage-blob-preview' extension using the Azure CLI. ```bash az extension add --name storage-blob-preview ``` -------------------------------- ### Install Storage Preview Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/storage-preview/README.md Install the storage-preview extension using the Azure CLI. ```bash az extension add --name storage-preview ``` -------------------------------- ### Install keyvault-preview Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/keyvault-preview/README.md Install the keyvault-preview extension using the Azure CLI command. ```sh az extension add --name keyvault-preview ``` -------------------------------- ### Install powerbidedicated extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/powerbidedicated/README.md Install the powerbidedicated extension using the Azure CLI. ```bash az extension add --name powerbidedicated ``` -------------------------------- ### Install WeightsAndBiases CLI Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/weights-and-biases/README.md Install the extension using the Azure CLI. ```bash az extension add --name weights-and-biases ``` -------------------------------- ### Install Swiftlet Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/swiftlet/README.md Install the 'swiftlet' extension using the Azure CLI. ```bash az extension add --name swiftlet ``` -------------------------------- ### Install datamigration Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/datamigration/README.md Install the datamigration extension using the Azure CLI. ```bash az extension add --name datamigration ``` -------------------------------- ### Install k8s-extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/k8s-extension/README.rst Install the k8s-extension using the Azure CLI. ```bash az extension add --name k8s-extension ``` -------------------------------- ### Install Desktop Virtualization Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/desktopvirtualization/README.md Install the desktop virtualization extension using the Azure CLI. ```bash az extension add --name desktopvirtualization ``` -------------------------------- ### Install Version Managed Extensions Source: https://github.com/azure/azure-cli-extensions/blob/main/src/vme/README.rst Install version-managed extensions with default configurations for a specified cluster. Use '--include all' to install all available extensions. ```bash az vme install --resource-group my-rg --cluster-name my-cluster --include all ``` -------------------------------- ### Install stack-hci Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/stack-hci/README.md Install the stack-hci extension using the Azure CLI. ```bash az extension add --name stack-hci ``` -------------------------------- ### Install the 'spring' extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/spring/README.md Install the 'spring' extension for Azure CLI using the provided command. ```bash az extension add --name spring ``` -------------------------------- ### Install monitor-control-service Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/monitor-control-service/README.md Install the monitor-control-service extension using the Azure CLI. ```bash az extension add --name monitor-control-service ``` -------------------------------- ### Install k8s-configuration Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/k8s-configuration/README.rst Install the k8s-configuration extension using the Azure CLI. ```bash az extension add --name k8s-configuration ``` -------------------------------- ### Install log-analytics-solution Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/log-analytics-solution/README.md Install the log-analytics-solution extension using the Azure CLI. ```bash az extension add --name log-analytics-solution ``` -------------------------------- ### Install providerhub Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/providerhub/README.md Install the providerhub extension using the Azure CLI. ```bash az extension add --name providerhub ``` -------------------------------- ### Install Resource Graph Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/resource-graph/README.md Install the resource-graph extension for Azure CLI. ```bash az extension add --name resource-graph ``` -------------------------------- ### Install Cloud-Service Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/cloudservice/README.md Install the cloud-service extension for Azure CLI. ```bash az extension add --name cloud-service ``` -------------------------------- ### Install the Image Copy Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/image-copy/readme.md Install the image-copy-extension using the `az extension add` command. ```bash az extension add --name image-copy-extension ``` -------------------------------- ### Install logz Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/logz/README.md Install the logz extension for Azure CLI using this command. No additional setup is required. ```bash az extension add --name logz ``` -------------------------------- ### Setting up Server Discovery and Replication Source: https://github.com/azure/azure-cli-extensions/blob/main/src/migrate/README.md This workflow covers the setup for server discovery and replication, including prerequisite checks, environment setup, authentication, context setting, verification, server discovery, finding specific servers, creating replication, and monitoring status. ```bash # 1. Check prerequisites and setup az migrate check-prerequisites az migrate setup-env --install-powershell # 2. Authenticate and set context az migrate auth login az migrate auth set-context --subscription-id "your-subscription-id" # 3. Verify setup az migrate verify-setup --resource-group "migration-rg" --project-name "server-migration-2025" # 4. List discovered servers az migrate server list-discovered --resource-group "migration-rg" --project-name "server-migration-2025" --source-machine-type VMware # 5. Find specific servers az migrate server find-by-name --resource-group "migration-rg" --project-name "server-migration-2025" --display-name "WebServer" # 6. Create server replication az migrate server create-replication --resource-group "migration-rg" --project-name "server-migration-2025" --target-vm-name "WebServer-Azure" --target-resource-group "target-rg" --target-network "target-vnet" # 7. Monitor replication status az migrate server show-replication-status --resource-group "migration-rg" --project-name "server-migration-2025" --vm-name "WebServer-Azure" ``` -------------------------------- ### Install Dependencies Source: https://github.com/azure/azure-cli-extensions/blob/main/src/machinelearningservices/azext_mlv2/tests/test_configs/batch_setup/light_gbm_examples/python-guide/README.md Installs required Python packages for running LightGBM examples, including scikit-learn, pandas, matplotlib, and scipy. ```bash pip install scikit-learn pandas matplotlib scipy -U ``` -------------------------------- ### Install Azure CLI Reservation Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/reservation/README.md Install the reservation extension using the Azure CLI. ```bash az extension add --name reservation ``` -------------------------------- ### Container Startup Command Example Source: https://github.com/azure/azure-cli-extensions/blob/main/src/confcom/azext_confcom/docs/v1_json_file_format.md Example of the 'command' field for a container, specifying the startup command and its arguments. ```json "command": ["python3"] ``` -------------------------------- ### Install k8s-runtime Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/k8s-runtime/README.md Install the k8s-runtime extension for Azure CLI using the provided command. ```bash az extension add --name k8s-runtime ``` -------------------------------- ### Install the edgeorder Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/edgeorder/README.md Install the edgeorder extension using the Azure CLI. ```bash az extension add --name edgeorder ``` -------------------------------- ### Install connectedmachine Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/connectedmachine/README.md Install the connectedmachine extension using the Azure CLI. ```bash az extension add --name connectedmachine ``` -------------------------------- ### Run Simple Example Source: https://github.com/azure/azure-cli-extensions/blob/main/src/machinelearningservices/azext_mlv2/tests/test_configs/batch_setup/light_gbm_examples/python-guide/README.md Executes a basic LightGBM example script. This demonstrates constructing a dataset, basic training and prediction, evaluation during training, early stopping, and saving models. ```bash python simple_example.py ``` -------------------------------- ### Get AKS Agent Help Source: https://github.com/azure/azure-cli-extensions/blob/main/src/aks-agent/README.rst Display a complete list of parameters, detailed examples, and help text for the AKS agent command. ```bash az aks agent -h ``` -------------------------------- ### Call Mixed Reality Command Source: https://github.com/azure/azure-cli-extensions/blob/main/src/mixed-reality/README.md Example of how to invoke a command from the Mixed Reality extension after installation. Use the `-h` flag to see available subcommands. ```bash az remote-rendering-account -h ``` -------------------------------- ### Install Dnc Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/dnc/README.md Install the Dnc extension for Azure CLI using this command. ```bash az extension add --name dnc ``` -------------------------------- ### Update logz Monitor VM State Source: https://github.com/azure/azure-cli-extensions/blob/main/src/logz/README.md Update the state of a virtual machine for a logz monitor, for example, to initiate an installation. Requires monitor name, state, and resource group. ```bash az logz monitor update-vm --name "myMonitor" --state "Install" --resource-group "myResourceGroup" ``` -------------------------------- ### Install Azure CLI Import-Export Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/import-export/README.md Install the import-export extension using the Azure CLI. ```bash az extension add --name import-export ``` -------------------------------- ### Create Backup Instance Source: https://github.com/azure/azure-cli-extensions/blob/main/src/dataprotection/README.md Create a backup instance with the validated configuration. ```bash az dataprotection backup-instance create -g MyResourceGroup --vault-name MyVault --backup-instance backup_instance.json ``` -------------------------------- ### Use Azure CLI Enhanced Monitoring Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/aem/readme.md After installation, you can use the extension's commands like any other Azure CLI command. This example shows how to set the extension for a virtual machine. ```bash az vm aem set --resource-group rg --name vm1 ``` -------------------------------- ### Update logz Sub-Account VM State Source: https://github.com/azure/azure-cli-extensions/blob/main/src/logz/README.md Update the state of a virtual machine for a logz sub-account, for example, to initiate an installation. Requires monitor name, state, resource group, and sub-account name. ```bash az logz sub-account update-vm --monitor-name "myMonitor" --state "Install" --resource-group "myResourceGroup" --name "SubAccount1" ``` -------------------------------- ### Install AppnetPreview Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/appnet-preview/README.md Use this command to install the AppnetPreview extension for Azure CLI. ```bash az extension add --name appnet-preview ``` -------------------------------- ### Create a Storage Pool with Realistic Values Source: https://github.com/azure/azure-cli-extensions/blob/main/src/pscloud/README.md Example demonstrating the creation of a Storage Pool with specific, realistic parameter values. ```bash az pscloud pool create \ --resource-group myResourceGroup \ --storage-pool-name myStoragePool \ --location eastus \ --zone 1 \ --subnet-name /subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet \ --vnet-name /subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet \ --provisioned-bandwidth 100 \ --reservation-id /subscriptions/12345678-1234-1234-1234-123456789abc/providers/PureStorage.Block/reservations/myReservation ``` -------------------------------- ### az cloud-service start Source: https://github.com/azure/azure-cli-extensions/blob/main/src/cloudservice/report.md Starts a cloud service. This operation is used to start the cloud service. ```APIDOC ## az cloud-service start ### Description Starts a cloud service. This operation is used to start the cloud service. ### Method POST ### Endpoint /cloudservices/{cloudServiceName}/start ### Parameters #### Path Parameters - **cloudServiceName** (string) - Name of the cloud service. - **resourceGroupName** (string) - Name of the resource group. #### Query Parameters #### Request Body ### Request Example ```json { "example": "" } ``` ### Response #### Success Response (200) - **status** (string) - Indicates the status of the start operation. #### Response Example ```json { "status": "Succeeded" } ``` ``` -------------------------------- ### Run Scikit-learn Example Source: https://github.com/azure/azure-cli-extensions/blob/main/src/machinelearningservices/azext_mlv2/tests/test_configs/batch_setup/light_gbm_examples/python-guide/README.md Executes an example demonstrating LightGBM's scikit-learn interface. This includes creating data, training, prediction, feature importances, custom evaluation metrics, and hyperparameter tuning with GridSearchCV. ```bash python sklearn_example.py ``` -------------------------------- ### Start BareMetal Instance Source: https://github.com/azure/azure-cli-extensions/blob/main/src/baremetal-infrastructure/README.md Starts a specific BareMetal instance. Requires resource group and instance name. ```bash az baremetalinstance start --resource-group $RESOURCE_GROUP --instance-name $BM_INSTANCE_NAME ``` -------------------------------- ### Install ServiceGroup Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/servicegroup/README.md Install the ServiceGroup extension for Azure CLI using this command. Ensure you have the Azure CLI installed. ```bash az extension add --name servicegroup ``` -------------------------------- ### View Front Door CLI Help Source: https://github.com/azure/azure-cli-extensions/blob/main/src/front-door/readme.md View the help documentation for the Front Door CLI commands after installation. This helps in understanding available subcommands. ```bash az network front-door -h ``` -------------------------------- ### Install Scheduled Query Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/scheduled-query/README.rst Install the 'scheduled-query' extension for Azure CLI using this command. Ensure you have Azure CLI installed. ```bash az extension add --name scheduled-query ``` -------------------------------- ### Install LambdaTest Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/lambda-test/README.md Install the LambdaTest extension for Azure CLI. This command adds the extension to your local Azure CLI installation. ```bash az extension add --name lambda-test ``` -------------------------------- ### Run Plotting Example Source: https://github.com/azure/azure-cli-extensions/blob/main/src/machinelearningservices/azext_mlv2/tests/test_configs/batch_setup/light_gbm_examples/python-guide/README.md Executes an example showcasing LightGBM's plotting capabilities. This includes training with evaluation recording, plotting training metrics, feature importances, split value histograms, and individual trees (with and without Graphviz). ```bash python plot_example.py ``` -------------------------------- ### Install Health Bot Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/healthbot/README.md Use this command to install the healthbot extension for Azure CLI. Ensure you have Azure CLI installed. ```bash az extension add --name healthbot ``` -------------------------------- ### Create a Swiftlet VM Source: https://github.com/azure/azure-cli-extensions/blob/main/src/swiftlet/README.md Create a Swiftlet virtual machine with specified configurations including location, credentials, ports, startup script, bundle SKU, image ID, username, tags, resource group, and name. ```bash az swiftlet vm create --location "westus" --password "{your-password}," --ports \ port-range="3389" protocol="*" --startup-script "{inline startup script}" --swiftlet-bundle-sku "Windows_1" \ --swiftlet-image-id "windows-2019-datacenter" --username "SwiftletUser" --tags key1="value1" key2="value2" \ --resource-group "myResourceGroup" --name "myVirtualMachine" ``` -------------------------------- ### Start Azure Disk Pool Source: https://github.com/azure/azure-cli-extensions/blob/main/src/diskpool/README.md Start a stopped Azure disk pool. Ensure the disk pool is in a stopped state before attempting to start it. ```bash az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" ``` -------------------------------- ### Install Azure CLI Purview Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/purview/README.md Use this command to install the Purview extension for Azure CLI. Ensure you have Azure CLI installed. ```bash az extension add --name purview ``` -------------------------------- ### Start SAP Database Instance Source: https://github.com/azure/azure-cli-extensions/blob/main/src/workloads/README.md Starts a SAP database instance. Requires resource group, instance name, and virtual instance name. ```bash az workloads sap-database-instance start -g rg -n instance-name --vis-name name ``` -------------------------------- ### Run Advanced Example Source: https://github.com/azure/azure-cli-extensions/blob/main/src/machinelearningservices/azext_mlv2/tests/test_configs/batch_setup/light_gbm_examples/python-guide/README.md Executes an advanced LightGBM example. This covers dataset construction, feature names, direct categorical feature usage, model saving/loading (JSON, pickle), feature importances, continuing training, dynamic parameter changes, and custom objective/evaluation functions. ```bash python advanced_example.py ``` -------------------------------- ### Install Azure CLI Carbon Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/carbon/README.md Install the Carbon extension for Azure CLI using this command. Ensure you have Azure CLI installed. ```bash az extension add --name carbon ``` -------------------------------- ### Install Azure CLI Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/aem/readme.md Use this command to install the Azure CLI Enhanced Monitoring Extension. Ensure you have the Azure CLI installed. ```bash az extension add --name aem ``` -------------------------------- ### List Datastore Commands in Azure VMware Solution CLI Source: https://github.com/azure/azure-cli-extensions/blob/main/src/vmware/HISTORY.md This example shows the available commands for managing datastores within an Azure VMware Solution private cloud cluster using the Azure CLI. ```bash az vmware datastore --help Group az vmware datastore : Commands to manage a datastore in a private cloud cluster. Commands: create : Create a datastore in a private cloud cluster. delete : Delete a datastore in a private cloud cluster. list : List datastores in a private cloud cluster. show : Show details of a datastore in a private cloud cluster. ``` -------------------------------- ### az disk-pool start Source: https://github.com/azure/azure-cli-extensions/blob/main/src/diskpool/report.md Starts a Disk Pool. ```APIDOC ## az disk-pool start ### Description Starts a Disk Pool. ### Method POST ### Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start ### Parameters #### Path Parameters - **resource-group-name** (string) - The name of the resource group. The name is case insensitive. - **disk-pool-name** (string) - The name of the Disk Pool. ### Request Example ``` az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" ``` ### Response #### Success Response (204) No content is returned on success. ``` -------------------------------- ### Start an Azure Kusto Cluster Source: https://github.com/azure/azure-cli-extensions/blob/main/src/kusto/report.md Starts a stopped Azure Kusto cluster. Provide the cluster name and its resource group to initiate the start operation. ```bash az kusto cluster start --name "kustoCluster2" --resource-group "kustorptest" ``` -------------------------------- ### Start SAP Application Server Instance Source: https://github.com/azure/azure-cli-extensions/blob/main/src/workloads/README.md Starts a SAP application server instance. Requires resource group, instance name, and virtual instance name. ```bash az workloads sap-application-server-instance start -g rg -n instance-name --vis-name name ``` -------------------------------- ### List Installed Azure CLI Extensions Source: https://github.com/azure/azure-cli-extensions/blob/main/src/vmware/DEVELOPMENT.md Verify that the VMware extension has been installed correctly by listing all installed extensions using `az extension list`. ```powershell (env) PS dev> az extension list [ { "experimental": false, "extensionType": "dev", "name": "vmware", "path": "C:\\Users\\jonathanhe\\Documents\\dev\\azure-cli-extensions\\src\\vmware", "preview": false, "version": "3.1.0" } ] ``` -------------------------------- ### Example template.parameters.json Source: https://github.com/azure/azure-cli-extensions/blob/main/src/confcom/azext_confcom/template.parameters.md This JSON file defines parameters for an Azure deployment, including share name, storage account details, and image reference. ```json { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "share-name": { "value": "" }, "storage-account-name": { "value": "" }, "storage-account-key": { "value": "" }, "image": { "value": "acicc.azurecr.io/aci/cc-hello-world:latest" } } } ``` -------------------------------- ### Install Qumulo Azure CLI Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/qumulo/README.md Install the Qumulo extension for Azure CLI using this command. Ensure Azure CLI is installed and configured. ```bash az extension add --name qumulo ``` -------------------------------- ### Install the cosmosdb-preview extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/cosmosdb-preview/README.md Install the extension using the az extension add command. This is a prerequisite for using the cosmosdb-preview commands. ```sh az extension add --name cosmosdb-preview ``` -------------------------------- ### Install Azure Migrate Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/migrate/README.md Install the Azure CLI extension for managing Azure Migrate resources. Ensure you have Azure CLI 2.0+ installed. ```sh az extension add --name migrate ``` -------------------------------- ### Validate nexusidentity Extension Installation Source: https://github.com/azure/azure-cli-extensions/blob/main/src/nexusidentity/README.md Validates that the nexusidentity extension has been installed correctly by displaying its help information. This is a common way to confirm successful installation. ```bash az nexusidentity --help ``` -------------------------------- ### View Dnc Extension Help Source: https://github.com/azure/azure-cli-extensions/blob/main/src/dnc/README.md View the help information for the Dnc extension after installation. ```bash az dnc --help ``` -------------------------------- ### Install Dynatrace Azure CLI Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/dynatrace/README.md Install the Dynatrace extension for Azure CLI using this command. Ensure Azure CLI is installed and configured. ```bash az extension add --name dynatrace ``` -------------------------------- ### Create an Exadb VM Cluster Source: https://github.com/azure/azure-cli-extensions/blob/main/src/oracle-database/README.md Create an Exadata Database Service on Cloud@Customer VM cluster. Ensure all required IDs and keys are provided. ```bash az oracle-database exadb-vm-cluster create --name MyVmCluster --resource-group MyResourceGroup --location eastus --zone 1 --exascale-db-storage-vault-id --display-name MyVmCluster --enabled-ecpu-count 16 --grid-image-ocid --hostname myexahost --node-count 2 --shape Exadata.X9M --ssh-public-keys '' --vnet-id --subnet-id --total-ecpu-count 32 --vm-file-system-storage total-size-in-gbs=1024 ``` -------------------------------- ### Install Trustedsigning Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/trustedsigning/README.md Install the Trustedsigning extension for Azure CLI. ```bash az extension add --name trustedsigning ``` -------------------------------- ### Start SAP Virtual Instance Source: https://github.com/azure/azure-cli-extensions/blob/main/src/workloads/README.md Starts a SAP virtual instance. Requires resource group and the virtual instance name. ```bash az workloads sap-virtual-instance start -g rg --vis-name name ``` -------------------------------- ### Install SCVMM Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/scvmm/README.md Install the SCVMM extension for Azure CLI. ```bash az extension add --name scvmm ``` -------------------------------- ### Install Computelimit Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/computelimit/README.md Install the Computelimit extension for Azure CLI. This is the first step to using the extension's features. ```bash az extension add --name computelimit ``` -------------------------------- ### Install OracleDatabase Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/oracle-database/README.md Install the OracleDatabase extension for Azure CLI. ```bash az extension add --name oracle-database ``` -------------------------------- ### Install Extension and Login Source: https://github.com/azure/azure-cli-extensions/blob/main/src/workload-orchestration/README.md Install the workload orchestration extension and log in to Azure. Replace `` with the actual path to your extension file. ```sh az extension add --source az login ``` -------------------------------- ### Install the IpGroup Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/ip-group/README.md Install the IpGroup extension for Azure CLI. ```bash az extension add --name ip-group ``` -------------------------------- ### Install Informatica Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/informatica/README.md Install the Informatica extension for Azure CLI. ```bash az extension add --name informatica ``` -------------------------------- ### Create a New Desktop Virtualization Workspace Source: https://github.com/azure/azure-cli-extensions/blob/main/src/desktopvirtualization/report.md Create a new Desktop Virtualization workspace with specified properties like location, description, friendly name, and tags. Required parameters include resource group name, workspace name, and location. ```bash az desktopvirtualization workspace create --resource-group "resourceGroup1" --location "centralus" --description \ "des1" --friendly-name "friendly" --tags tag1="value1" tag2="value2" --name "workspace1" ``` -------------------------------- ### Install Databricks Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/databricks/README.md Install the Databricks extension for Azure CLI. ```bash az extension add --name databricks ``` -------------------------------- ### Create Basic Azure Local Replication Source: https://github.com/azure/azure-cli-extensions/blob/main/src/migrate/README.md Perform a basic replication setup for Azure Local migrations. Requires server index, target VM name, storage path, and network configuration. ```bash # Create basic replication az migrate local create-replication --resource-group myRG --project-name myProject \ --server-index 0 --target-vm-name migratedVM \ --target-storage-path-id "/subscriptions/xxx/providers/Microsoft.AzureStackHCI/storageContainers/container001" \ --target-virtual-switch-id "/subscriptions/xxx/providers/Microsoft.AzureStackHCI/logicalnetworks/network001" \ --target-resource-group-id "/subscriptions/xxx/resourceGroups/targetRG" ``` -------------------------------- ### Install ConnectedVMware Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/connectedvmware/README.md Install the ConnectedVMware extension for Azure CLI. ```bash az extension add --name connectedvmware ``` -------------------------------- ### Install Image Gallery Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/image-gallery/README.md Install the image-gallery extension for Azure CLI using the provided command. ```bash az extension add --name image-gallery ``` -------------------------------- ### Install Computeschedule Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/computeschedule/README.md Install the Computeschedule extension for Azure CLI. ```bash az extension add --name az computeschedule ``` -------------------------------- ### Azure NetApp Files CLI Help Source: https://github.com/azure/azure-cli-extensions/blob/main/src/netappfiles-preview/README.md Display help information for all Azure NetApp Files CLI commands. ```bash az netappfiles --help ``` -------------------------------- ### Initialize Backup Instance Configuration Source: https://github.com/azure/azure-cli-extensions/blob/main/src/dataprotection/README.md Initialize a backup instance configuration request for Azure Disk datasource. Save the output to a JSON file for further editing. ```bash az dataprotection backup-instance initialize --datasource-type AzureDisk -l southeastasia \ --policy-id {disk_policy_id} --datasource-id {disk_id} ``` -------------------------------- ### Execute Start Operation for Virtual Machines Source: https://github.com/azure/azure-cli-extensions/blob/main/src/computeschedule/README.md Triggers an immediate start operation for a batch of virtual machines. Ensure the location and resource IDs are correctly specified. ```bash az computeschedule vm-execute-start \ --location eastus2euap \ --execution-parameters "{retry-policy:{retry-count:2,retry-window-in-minutes:27}}" \ --resources "{ids:[/subscriptions/fe541807-8c68-475d-976d-f453f9db4d81/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/testResource3]}" \ --correlationid 23480d2f-1dca-4610-afb4-dd25eec1f34r ``` -------------------------------- ### Install CloudHSM Extension Source: https://github.com/azure/azure-cli-extensions/blob/main/src/cloudhsm/README.md Install the CloudHSM extension for Azure CLI. ```bash az extension add --name cloudhsm ``` -------------------------------- ### Create Basic Network for Dedicated HSM Source: https://github.com/azure/azure-cli-extensions/blob/main/src/hardware-security-modules/README.md Set up a basic network infrastructure including VNET, subnets, public IP, and virtual network gateway required for a dedicated HSM. This example registers necessary features and creates network resources. ```bash az feature register --namespace Microsoft.HardwareSecurityModules --name AzureDedicatedHSM az feature register --namespace Microsoft.Network --name AllowBaremetalServers az network vnet create --name vn -g rg1 --subnet-name default az vm create -g rg1 --name vm1 --image UbuntuLTS az network vnet subnet create --vnet-name vn -n GatewaySubnet -g rg1 --address-prefix 10.0.5.0/24 az network vnet subnet create --vnet-name vn -g rg1 --name hsm --address-prefixes 10.0.2.0/24 --delegations Microsoft.HardwareSecurityModules/dedicatedHSMs az network public-ip create -n ERGWVIP -g rg1 --allocation-method Dynamic az network vnet-gateway create -n ERGW -l japaneast --public-ip-address ERGWVIP -g rg1 --vnet vn --sku standard --gateway-type ExpressRoute ```