Skip to content
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

[AutoPR azure-mgmt-recoveryservicesbackup] Recovery services backup october release #8029

Draft
wants to merge 1 commit into
base: release/v3
Choose a base branch
from
Draft
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,7 +1,7 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "39fa4ceaedf67b74541cf0fc40dc6d4b89fac2a5",
"commit": "d7f76557c3c01792795805ccdb2de860122777a2",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/recoveryservicesbackup/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
from .operations import JobsOperations
from .operations import BackupProtectedItemsOperations
from .operations import OperationOperations
from .operations import ValidateOperationOperations
from .operations import ValidateOperationResultsOperations
from .operations import ValidateOperationStatusesOperations
from .operations import BackupEnginesOperations
from .operations import ProtectionContainerRefreshOperationResultsOperations
from .operations import ProtectableContainersOperations
Expand All @@ -59,16 +62,6 @@
from .operations import RecoveryPointsRecommendedForMoveOperations
from .operations import ResourceGuardProxiesOperations
from .operations import ResourceGuardProxyOperations
from .operations import BackupUsageSummariesCRROperations
from .operations import AadPropertiesOperations
from .operations import CrossRegionRestoreOperations
from .operations import BackupCrrJobDetailsOperations
from .operations import BackupCrrJobsOperations
from .operations import CrrOperationResultsOperations
from .operations import CrrOperationStatusOperations
from .operations import BackupResourceStorageConfigsOperations
from .operations import RecoveryPointsCrrOperations
from .operations import BackupProtectedItemsCrrOperations
from . import models


Expand Down Expand Up @@ -132,6 +125,12 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin,
:vartype backup_protected_items: azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsOperations
:ivar operation: Operation operations
:vartype operation: azure.mgmt.recoveryservicesbackup.operations.OperationOperations
:ivar validate_operation: ValidateOperation operations
:vartype validate_operation: azure.mgmt.recoveryservicesbackup.operations.ValidateOperationOperations
:ivar validate_operation_results: ValidateOperationResults operations
:vartype validate_operation_results: azure.mgmt.recoveryservicesbackup.operations.ValidateOperationResultsOperations
:ivar validate_operation_statuses: ValidateOperationStatuses operations
:vartype validate_operation_statuses: azure.mgmt.recoveryservicesbackup.operations.ValidateOperationStatusesOperations
:ivar backup_engines: BackupEngines operations
:vartype backup_engines: azure.mgmt.recoveryservicesbackup.operations.BackupEnginesOperations
:ivar protection_container_refresh_operation_results: ProtectionContainerRefreshOperationResults operations
Expand Down Expand Up @@ -168,26 +167,6 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin,
:vartype resource_guard_proxies: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxiesOperations
:ivar resource_guard_proxy: ResourceGuardProxy operations
:vartype resource_guard_proxy: azure.mgmt.recoveryservicesbackup.operations.ResourceGuardProxyOperations
:ivar backup_usage_summaries_crr: BackupUsageSummariesCRR operations
:vartype backup_usage_summaries_crr: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesCRROperations
:ivar aad_properties: AadProperties operations
:vartype aad_properties: azure.mgmt.recoveryservicesbackup.operations.AadPropertiesOperations
:ivar cross_region_restore: CrossRegionRestore operations
:vartype cross_region_restore: azure.mgmt.recoveryservicesbackup.operations.CrossRegionRestoreOperations
:ivar backup_crr_job_details: BackupCrrJobDetails operations
:vartype backup_crr_job_details: azure.mgmt.recoveryservicesbackup.operations.BackupCrrJobDetailsOperations
:ivar backup_crr_jobs: BackupCrrJobs operations
:vartype backup_crr_jobs: azure.mgmt.recoveryservicesbackup.operations.BackupCrrJobsOperations
:ivar crr_operation_results: CrrOperationResults operations
:vartype crr_operation_results: azure.mgmt.recoveryservicesbackup.operations.CrrOperationResultsOperations
:ivar crr_operation_status: CrrOperationStatus operations
:vartype crr_operation_status: azure.mgmt.recoveryservicesbackup.operations.CrrOperationStatusOperations
:ivar backup_resource_storage_configs: BackupResourceStorageConfigs operations
:vartype backup_resource_storage_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsOperations
:ivar recovery_points_crr: RecoveryPointsCrr operations
:vartype recovery_points_crr: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsCrrOperations
:ivar backup_protected_items_crr: BackupProtectedItemsCrr operations
:vartype backup_protected_items_crr: azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsCrrOperations

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -204,6 +183,7 @@ def __init__(
super(RecoveryServicesBackupClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2021-10-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down Expand Up @@ -261,6 +241,12 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.operation = OperationOperations(
self._client, self.config, self._serialize, self._deserialize)
self.validate_operation = ValidateOperationOperations(
self._client, self.config, self._serialize, self._deserialize)
self.validate_operation_results = ValidateOperationResultsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.validate_operation_statuses = ValidateOperationStatusesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_engines = BackupEnginesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.protection_container_refresh_operation_results = ProtectionContainerRefreshOperationResultsOperations(
Expand Down Expand Up @@ -297,23 +283,3 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.resource_guard_proxy = ResourceGuardProxyOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_usage_summaries_crr = BackupUsageSummariesCRROperations(
self._client, self.config, self._serialize, self._deserialize)
self.aad_properties = AadPropertiesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.cross_region_restore = CrossRegionRestoreOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_crr_job_details = BackupCrrJobDetailsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_crr_jobs = BackupCrrJobsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.crr_operation_results = CrrOperationResultsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.crr_operation_status = CrrOperationStatusOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_resource_storage_configs = BackupResourceStorageConfigsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.recovery_points_crr = RecoveryPointsCrrOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import AADProperties
from ._models_py3 import AADPropertiesResource
from ._models_py3 import AzureBackupGoalFeatureSupportRequest
from ._models_py3 import AzureBackupServerContainer
from ._models_py3 import AzureBackupServerEngine
Expand Down Expand Up @@ -117,7 +115,6 @@
from ._models_py3 import BackupStatusRequest
from ._models_py3 import BackupStatusResponse
from ._models_py3 import BEKDetails
from ._models_py3 import BMSAADPropertiesQueryObject
from ._models_py3 import BMSBackupEngineQueryObject
from ._models_py3 import BMSBackupEnginesQueryObject
from ._models_py3 import BMSBackupSummariesQueryObject
Expand All @@ -134,12 +131,6 @@
from ._models_py3 import ClientDiscoveryValueForSingleApi
from ._models_py3 import ClientScriptForConnect
from ._models_py3 import ContainerIdentityInfo
from ._models_py3 import CrossRegionRestoreRequest
from ._models_py3 import CrossRegionRestoreRequestResource
from ._models_py3 import CrrAccessToken
from ._models_py3 import CrrAccessTokenResource
from ._models_py3 import CrrJobRequest
from ._models_py3 import CrrJobRequestResource
from ._models_py3 import DailyRetentionFormat
from ._models_py3 import DailyRetentionSchedule
from ._models_py3 import Day
Expand Down Expand Up @@ -167,14 +158,14 @@
from ._models_py3 import GenericProtectionPolicy
from ._models_py3 import GenericRecoveryPoint
from ._models_py3 import GetProtectedItemQueryObject
from ._models_py3 import HourlySchedule
from ._models_py3 import IaasVMBackupRequest
from ._models_py3 import IaaSVMContainer
from ._models_py3 import IaasVMILRRegistrationRequest
from ._models_py3 import IaaSVMProtectableItem
from ._models_py3 import IaasVMRecoveryPoint
from ._models_py3 import IaasVMRestoreRequest
from ._models_py3 import IaasVMRestoreWithRehydrationRequest
from ._models_py3 import IdentityBasedRestoreDetails
from ._models_py3 import IdentityInfo
from ._models_py3 import ILRRequest
from ._models_py3 import ILRRequestResource
Expand Down Expand Up @@ -216,7 +207,7 @@
from ._models_py3 import OperationStatusJobExtendedInfo
from ._models_py3 import OperationStatusJobsExtendedInfo
from ._models_py3 import OperationStatusProvisionILRExtendedInfo
from ._models_py3 import OperationStatusRecoveryPointExtendedInfo
from ._models_py3 import OperationStatusValidateOperationExtendedInfo
from ._models_py3 import OperationWorkerResponse
from ._models_py3 import PointInTimeRange
from ._models_py3 import PreBackupValidation
Expand Down Expand Up @@ -283,16 +274,13 @@
from ._models_py3 import VaultStorageConfigOperationResultResponse
from ._models_py3 import WeeklyRetentionFormat
from ._models_py3 import WeeklyRetentionSchedule
from ._models_py3 import WorkloadCrrAccessToken
from ._models_py3 import WorkloadInquiryDetails
from ._models_py3 import WorkloadItem
from ._models_py3 import WorkloadItemResource
from ._models_py3 import WorkloadProtectableItem
from ._models_py3 import WorkloadProtectableItemResource
from ._models_py3 import YearlyRetentionSchedule
except (SyntaxError, ImportError):
from ._models import AADProperties
from ._models import AADPropertiesResource
from ._models import AzureBackupGoalFeatureSupportRequest
from ._models import AzureBackupServerContainer
from ._models import AzureBackupServerEngine
Expand Down Expand Up @@ -398,7 +386,6 @@
from ._models import BackupStatusRequest
from ._models import BackupStatusResponse
from ._models import BEKDetails
from ._models import BMSAADPropertiesQueryObject
from ._models import BMSBackupEngineQueryObject
from ._models import BMSBackupEnginesQueryObject
from ._models import BMSBackupSummariesQueryObject
Expand All @@ -415,12 +402,6 @@
from ._models import ClientDiscoveryValueForSingleApi
from ._models import ClientScriptForConnect
from ._models import ContainerIdentityInfo
from ._models import CrossRegionRestoreRequest
from ._models import CrossRegionRestoreRequestResource
from ._models import CrrAccessToken
from ._models import CrrAccessTokenResource
from ._models import CrrJobRequest
from ._models import CrrJobRequestResource
from ._models import DailyRetentionFormat
from ._models import DailyRetentionSchedule
from ._models import Day
Expand Down Expand Up @@ -448,14 +429,14 @@
from ._models import GenericProtectionPolicy
from ._models import GenericRecoveryPoint
from ._models import GetProtectedItemQueryObject
from ._models import HourlySchedule
from ._models import IaasVMBackupRequest
from ._models import IaaSVMContainer
from ._models import IaasVMILRRegistrationRequest
from ._models import IaaSVMProtectableItem
from ._models import IaasVMRecoveryPoint
from ._models import IaasVMRestoreRequest
from ._models import IaasVMRestoreWithRehydrationRequest
from ._models import IdentityBasedRestoreDetails
from ._models import IdentityInfo
from ._models import ILRRequest
from ._models import ILRRequestResource
Expand Down Expand Up @@ -497,7 +478,7 @@
from ._models import OperationStatusJobExtendedInfo
from ._models import OperationStatusJobsExtendedInfo
from ._models import OperationStatusProvisionILRExtendedInfo
from ._models import OperationStatusRecoveryPointExtendedInfo
from ._models import OperationStatusValidateOperationExtendedInfo
from ._models import OperationWorkerResponse
from ._models import PointInTimeRange
from ._models import PreBackupValidation
Expand Down Expand Up @@ -564,7 +545,6 @@
from ._models import VaultStorageConfigOperationResultResponse
from ._models import WeeklyRetentionFormat
from ._models import WeeklyRetentionSchedule
from ._models import WorkloadCrrAccessToken
from ._models import WorkloadInquiryDetails
from ._models import WorkloadItem
from ._models import WorkloadItemResource
Expand Down Expand Up @@ -592,13 +572,13 @@
PrivateEndpointConnectionStatus,
ProtectionState,
ResourceHealthStatus,
HealthStatus,
RecoveryType,
CopyOptions,
RestoreRequestType,
WorkloadType,
PolicyType,
JobSupportedAction,
HealthStatus,
ProtectedItemState,
LastBackupStatus,
ProtectedItemHealthStatus,
Expand Down Expand Up @@ -629,6 +609,7 @@
EnhancedSecurityState,
SoftDeleteFeatureState,
AzureFileShareType,
AcquireStorageAccountLock,
InquiryStatus,
BackupType,
SupportStatus,
Expand All @@ -647,8 +628,6 @@
)

__all__ = [
'AADProperties',
'AADPropertiesResource',
'AzureBackupGoalFeatureSupportRequest',
'AzureBackupServerContainer',
'AzureBackupServerEngine',
Expand Down Expand Up @@ -754,7 +733,6 @@
'BackupStatusRequest',
'BackupStatusResponse',
'BEKDetails',
'BMSAADPropertiesQueryObject',
'BMSBackupEngineQueryObject',
'BMSBackupEnginesQueryObject',
'BMSBackupSummariesQueryObject',
Expand All @@ -771,12 +749,6 @@
'ClientDiscoveryValueForSingleApi',
'ClientScriptForConnect',
'ContainerIdentityInfo',
'CrossRegionRestoreRequest',
'CrossRegionRestoreRequestResource',
'CrrAccessToken',
'CrrAccessTokenResource',
'CrrJobRequest',
'CrrJobRequestResource',
'DailyRetentionFormat',
'DailyRetentionSchedule',
'Day',
Expand Down Expand Up @@ -804,14 +776,14 @@
'GenericProtectionPolicy',
'GenericRecoveryPoint',
'GetProtectedItemQueryObject',
'HourlySchedule',
'IaasVMBackupRequest',
'IaaSVMContainer',
'IaasVMILRRegistrationRequest',
'IaaSVMProtectableItem',
'IaasVMRecoveryPoint',
'IaasVMRestoreRequest',
'IaasVMRestoreWithRehydrationRequest',
'IdentityBasedRestoreDetails',
'IdentityInfo',
'ILRRequest',
'ILRRequestResource',
Expand Down Expand Up @@ -853,7 +825,7 @@
'OperationStatusJobExtendedInfo',
'OperationStatusJobsExtendedInfo',
'OperationStatusProvisionILRExtendedInfo',
'OperationStatusRecoveryPointExtendedInfo',
'OperationStatusValidateOperationExtendedInfo',
'OperationWorkerResponse',
'PointInTimeRange',
'PreBackupValidation',
Expand Down Expand Up @@ -920,7 +892,6 @@
'VaultStorageConfigOperationResultResponse',
'WeeklyRetentionFormat',
'WeeklyRetentionSchedule',
'WorkloadCrrAccessToken',
'WorkloadInquiryDetails',
'WorkloadItem',
'WorkloadItemResource',
Expand All @@ -947,13 +918,13 @@
'PrivateEndpointConnectionStatus',
'ProtectionState',
'ResourceHealthStatus',
'HealthStatus',
'RecoveryType',
'CopyOptions',
'RestoreRequestType',
'WorkloadType',
'PolicyType',
'JobSupportedAction',
'HealthStatus',
'ProtectedItemState',
'LastBackupStatus',
'ProtectedItemHealthStatus',
Expand Down Expand Up @@ -984,6 +955,7 @@
'EnhancedSecurityState',
'SoftDeleteFeatureState',
'AzureFileShareType',
'AcquireStorageAccountLock',
'InquiryStatus',
'BackupType',
'SupportStatus',
Expand Down
Loading