From de592f75f9720abe8298465c12a46c5d4742a438 Mon Sep 17 00:00:00 2001 From: Zubair Abid Date: Mon, 2 Mar 2026 16:02:18 +0530 Subject: [PATCH] Update doc --- src/dataprotection/HISTORY.rst | 4 ++++ src/dataprotection/azext_dataprotection/manual/_help.py | 4 ++-- src/dataprotection/setup.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/dataprotection/HISTORY.rst b/src/dataprotection/HISTORY.rst index 81a31859a51..b5dcf61fb21 100644 --- a/src/dataprotection/HISTORY.rst +++ b/src/dataprotection/HISTORY.rst @@ -2,6 +2,10 @@ Release History =============== +1.8.1 ++++++ +* Documentation update for `initialize-backupconfig` and `initialize-restoreconfig` commands to clarify that the generated JSON is meant for use with other CLI commands, and may not work as an input for non-CLI scenarios without modification. + 1.8.0 +++++ * `az dataprotection backup-instance update`: New parameter: `--backup-configuration` to update AKS datasource parameters. diff --git a/src/dataprotection/azext_dataprotection/manual/_help.py b/src/dataprotection/azext_dataprotection/manual/_help.py index 8774ac429f5..0b7e86a231d 100644 --- a/src/dataprotection/azext_dataprotection/manual/_help.py +++ b/src/dataprotection/azext_dataprotection/manual/_help.py @@ -205,7 +205,7 @@ helps['dataprotection backup-instance initialize-backupconfig'] = """ type: command - short-summary: Initialize JSON request body for initializing and configuring backup for AzureKubernetesService or AzureBlobs (for vaulted backups) resources. + short-summary: Initialize JSON request body for initializing and configuring backup for AzureKubernetesService or AzureBlobs (for vaulted backups) resources. The generated JSON is meant for use with other CLI commands, and may not work as an input for non-CLI scenarios without modification. examples: - name: Initialize backup configuration for AzureKubernetesService text: az dataprotection backup-instance initialize-backupconfig --datasource-type AzureKubernetesService --label-selectors key=val foo=bar --excluded-namespaces excludeNS1 excludeNS2 @@ -218,7 +218,7 @@ helps['dataprotection backup-instance initialize-restoreconfig'] = """ type: command - short-summary: Initialize JSON request body for initializing and configuring restore of an AzureKubernetesService resource. + short-summary: Initialize JSON request body for initializing and configuring restore of an AzureKubernetesService resource. The generated JSON is meant for use with other CLI commands, and may not work as an input for non-CLI scenarios without modification. examples: - name: Initialize restore configuration text: az dataprotection backup-instance initialize-restoreconfig --datasource-type AzureKubernetesService diff --git a/src/dataprotection/setup.py b/src/dataprotection/setup.py index 0af4bc59016..e8f8debeb62 100644 --- a/src/dataprotection/setup.py +++ b/src/dataprotection/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '1.8.0' +VERSION = '1.8.1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers