Skip to content

Commit

Permalink
CodeGen from PR 14309 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Adding backupUsageSummaries API in 2018-12-20 version[Passive stamp] (Azure#14309)

* Adding backupUsageSummaries API in 2018-12-20 version[Passive stamp]

* Adding example

* Adding example

* Adding default error response

* Fixing operationId

* Revert "Fixing operationId"

This reverts commit f7327d7ebe465621808988d5fd32fda81255521d.

* Fixing operationId for getbackupusageSummaries

* Adding nextLink

* Adding nextLink in definition

* Update

* Reverting nextLink
  • Loading branch information
SDKAuto committed May 19, 2021
1 parent bdaea28 commit 16dd716
Show file tree
Hide file tree
Showing 55 changed files with 2,250 additions and 628 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "5d617cf399806989dc17934ef5ca38f5545e8175",
"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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@

from ._configuration import RecoveryServicesBackupClientConfiguration
from .operations import RecoveryServicesBackupClientOperationsMixin
from .operations import ProtectionIntentOperations
from .operations import BackupStatusOperations
from .operations import FeatureSupportOperations
from .operations import BackupProtectionIntentOperations
from .operations import BackupUsageSummariesOperations
from .operations import Operations
from .operations import BackupResourceVaultConfigsOperations
from .operations import BackupResourceEncryptionConfigsOperations
from .operations import PrivateEndpointConnectionOperations
Expand Down Expand Up @@ -49,6 +55,8 @@
from .operations import BackupProtectableItemsOperations
from .operations import BackupProtectionContainersOperations
from .operations import SecurityPINsOperations
from .operations import RecoveryPointsRecommendedForMoveOperations
from .operations import BackupUsageSummariesCRROperations
from .operations import AadPropertiesOperations
from .operations import CrossRegionRestoreOperations
from .operations import BackupCrrJobDetailsOperations
Expand All @@ -58,12 +66,6 @@
from .operations import BackupResourceStorageConfigsOperations
from .operations import RecoveryPointsCrrOperations
from .operations import BackupProtectedItemsCrrOperations
from .operations import ProtectionIntentOperations
from .operations import BackupStatusOperations
from .operations import FeatureSupportOperations
from .operations import BackupProtectionIntentOperations
from .operations import BackupUsageSummariesOperations
from .operations import Operations
from . import models


Expand All @@ -73,6 +75,18 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin,
:ivar config: Configuration for client.
:vartype config: RecoveryServicesBackupClientConfiguration
:ivar protection_intent: ProtectionIntent operations
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations
:ivar backup_status: BackupStatus operations
:vartype backup_status: azure.mgmt.recoveryservicesbackup.operations.BackupStatusOperations
:ivar feature_support: FeatureSupport operations
:vartype feature_support: azure.mgmt.recoveryservicesbackup.operations.FeatureSupportOperations
:ivar backup_protection_intent: BackupProtectionIntent operations
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.operations.BackupProtectionIntentOperations
:ivar backup_usage_summaries: BackupUsageSummaries operations
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.recoveryservicesbackup.operations.Operations
:ivar backup_resource_vault_configs: BackupResourceVaultConfigs operations
:vartype backup_resource_vault_configs: azure.mgmt.recoveryservicesbackup.operations.BackupResourceVaultConfigsOperations
:ivar backup_resource_encryption_configs: BackupResourceEncryptionConfigs operations
Expand Down Expand Up @@ -143,6 +157,10 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin,
:vartype backup_protection_containers: azure.mgmt.recoveryservicesbackup.operations.BackupProtectionContainersOperations
:ivar security_pi_ns: SecurityPINs operations
:vartype security_pi_ns: azure.mgmt.recoveryservicesbackup.operations.SecurityPINsOperations
:ivar recovery_points_recommended_for_move: RecoveryPointsRecommendedForMove operations
:vartype recovery_points_recommended_for_move: azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsRecommendedForMoveOperations
: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
Expand All @@ -161,18 +179,6 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin,
: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
:ivar protection_intent: ProtectionIntent operations
:vartype protection_intent: azure.mgmt.recoveryservicesbackup.operations.ProtectionIntentOperations
:ivar backup_status: BackupStatus operations
:vartype backup_status: azure.mgmt.recoveryservicesbackup.operations.BackupStatusOperations
:ivar feature_support: FeatureSupport operations
:vartype feature_support: azure.mgmt.recoveryservicesbackup.operations.FeatureSupportOperations
:ivar backup_protection_intent: BackupProtectionIntent operations
:vartype backup_protection_intent: azure.mgmt.recoveryservicesbackup.operations.BackupProtectionIntentOperations
:ivar backup_usage_summaries: BackupUsageSummaries operations
:vartype backup_usage_summaries: azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.recoveryservicesbackup.operations.Operations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -192,6 +198,18 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.protection_intent = ProtectionIntentOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_status = BackupStatusOperations(
self._client, self.config, self._serialize, self._deserialize)
self.feature_support = FeatureSupportOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_protection_intent = BackupProtectionIntentOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_usage_summaries = BackupUsageSummariesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_resource_vault_configs = BackupResourceVaultConfigsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_resource_encryption_configs = BackupResourceEncryptionConfigsOperations(
Expand Down Expand Up @@ -262,6 +280,10 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.security_pi_ns = SecurityPINsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.recovery_points_recommended_for_move = RecoveryPointsRecommendedForMoveOperations(
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(
Expand All @@ -280,15 +302,3 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.backup_protected_items_crr = BackupProtectedItemsCrrOperations(
self._client, self.config, self._serialize, self._deserialize)
self.protection_intent = ProtectionIntentOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_status = BackupStatusOperations(
self._client, self.config, self._serialize, self._deserialize)
self.feature_support = FeatureSupportOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_protection_intent = BackupProtectionIntentOperations(
self._client, self.config, self._serialize, self._deserialize)
self.backup_usage_summaries = BackupUsageSummariesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
Loading

0 comments on commit 16dd716

Please sign in to comment.