Skip to content

[AutoPR track2_azure-mgmt-recoveryservicesbackup] [Test] Update readme.python.md #1780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "5fb045bd44f143bae17da2e01552ae531f77d0ba",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"commit": "f7528ebceccf0c3c41d239903f7fc6ce22454a38",
"repository_url": "https://github.com/openapi-env-test/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/recoveryservicesbackup/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"autorest_command": "autorest specification/recoveryservicesbackup/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class RecoveryServicesBackupClientConfiguration(Configuration): # pylint: disab
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription Id. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-04-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2022-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(RecoveryServicesBackupClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-04-01")
api_version: str = kwargs.pop("api_version", "2022-03-01")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
BackupUsageSummariesOperations,
BackupWorkloadItemsOperations,
BackupsOperations,
DeletedProtectionContainersOperations,
ExportJobsOperationResultsOperations,
FeatureSupportOperations,
ItemLevelRecoveryConnectionsOperations,
Expand Down Expand Up @@ -212,9 +211,6 @@ class RecoveryServicesBackupClient(
:ivar backup_protection_containers: BackupProtectionContainersOperations operations
:vartype backup_protection_containers:
azure.mgmt.recoveryservicesbackup.activestamp.operations.BackupProtectionContainersOperations
:ivar deleted_protection_containers: DeletedProtectionContainersOperations operations
:vartype deleted_protection_containers:
azure.mgmt.recoveryservicesbackup.activestamp.operations.DeletedProtectionContainersOperations
:ivar security_pins: SecurityPINsOperations operations
:vartype security_pins:
azure.mgmt.recoveryservicesbackup.activestamp.operations.SecurityPINsOperations
Expand All @@ -234,7 +230,7 @@ class RecoveryServicesBackupClient(
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-04-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2022-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down Expand Up @@ -363,9 +359,6 @@ def __init__(
self.backup_protection_containers = BackupProtectionContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.deleted_protection_containers = DeletedProtectionContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.security_pins = SecurityPINsOperations(self._client, self._config, self._serialize, self._deserialize)
self.recovery_points_recommended_for_move = RecoveryPointsRecommendedForMoveOperations(
self._client, self._config, self._serialize, self._deserialize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "7.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class RecoveryServicesBackupClientConfiguration(Configuration): # pylint: disab
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The subscription Id. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-04-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2022-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
super(RecoveryServicesBackupClientConfiguration, self).__init__(**kwargs)
api_version: str = kwargs.pop("api_version", "2023-04-01")
api_version: str = kwargs.pop("api_version", "2022-03-01")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
BackupUsageSummariesOperations,
BackupWorkloadItemsOperations,
BackupsOperations,
DeletedProtectionContainersOperations,
ExportJobsOperationResultsOperations,
FeatureSupportOperations,
ItemLevelRecoveryConnectionsOperations,
Expand Down Expand Up @@ -214,9 +213,6 @@ class RecoveryServicesBackupClient(
:ivar backup_protection_containers: BackupProtectionContainersOperations operations
:vartype backup_protection_containers:
azure.mgmt.recoveryservicesbackup.activestamp.aio.operations.BackupProtectionContainersOperations
:ivar deleted_protection_containers: DeletedProtectionContainersOperations operations
:vartype deleted_protection_containers:
azure.mgmt.recoveryservicesbackup.activestamp.aio.operations.DeletedProtectionContainersOperations
:ivar security_pins: SecurityPINsOperations operations
:vartype security_pins:
azure.mgmt.recoveryservicesbackup.activestamp.aio.operations.SecurityPINsOperations
Expand All @@ -236,7 +232,7 @@ class RecoveryServicesBackupClient(
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
:keyword api_version: Api Version. Default value is "2023-04-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2022-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down Expand Up @@ -365,9 +361,6 @@ def __init__(
self.backup_protection_containers = BackupProtectionContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.deleted_protection_containers = DeletedProtectionContainersOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.security_pins = SecurityPINsOperations(self._client, self._config, self._serialize, self._deserialize)
self.recovery_points_recommended_for_move = RecoveryPointsRecommendedForMoveOperations(
self._client, self._config, self._serialize, self._deserialize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
from ._protection_policy_operation_statuses_operations import ProtectionPolicyOperationStatusesOperations
from ._backup_protectable_items_operations import BackupProtectableItemsOperations
from ._backup_protection_containers_operations import BackupProtectionContainersOperations
from ._deleted_protection_containers_operations import DeletedProtectionContainersOperations
from ._security_pins_operations import SecurityPINsOperations
from ._recovery_points_recommended_for_move_operations import RecoveryPointsRecommendedForMoveOperations
from ._resource_guard_proxies_operations import ResourceGuardProxiesOperations
Expand Down Expand Up @@ -109,7 +108,6 @@
"ProtectionPolicyOperationStatusesOperations",
"BackupProtectableItemsOperations",
"BackupProtectionContainersOperations",
"DeletedProtectionContainersOperations",
"SecurityPINsOperations",
"RecoveryPointsRecommendedForMoveOperations",
"ResourceGuardProxiesOperations",
Expand Down

This file was deleted.

Loading