Skip to content

Commit 8a55f2b

Browse files
author
SDKAuto
committed
CodeGen from PR 25713 in Azure/azure-rest-api-specs
Merge 9ab65c969351f616e27787332eb98cbcc75a3331 into 1d7059db3c66d17d75e325d15c597ebbecfc60f4
1 parent f2c94cc commit 8a55f2b

File tree

4 files changed

+34
-5
lines changed

4 files changed

+34
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "5fb045bd44f143bae17da2e01552ae531f77d0ba",
2+
"commit": "3b22d6316a5c24cc42c08ce9346ef0e16a1c59eb",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"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",
9+
"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",
1010
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
1111
}

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "7.0.0"
9+
VERSION = "1.0.0b1"

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/models/_models_py3.py

+30-1
Original file line numberDiff line numberDiff line change
@@ -12697,7 +12697,7 @@ def __init__(
1269712697
self.po_logical_name = po_logical_name
1269812698

1269912699

12700-
class BackupStatusResponse(_serialization.Model):
12700+
class BackupStatusResponse(_serialization.Model): # pylint: disable=too-many-instance-attributes
1270112701
"""BackupStatus response.
1270212702

1270312703
:ivar protection_status: Specifies whether the container is registered or not. Known values
@@ -12723,6 +12723,12 @@ class BackupStatusResponse(_serialization.Model):
1272312723
:vartype policy_name: str
1272412724
:ivar registration_status: Container registration status.
1272512725
:vartype registration_status: str
12726+
:ivar protected_items_count: Number of protected items.
12727+
:vartype protected_items_count: int
12728+
:ivar acquire_storage_account_lock: Specifies whether the storage account lock has been
12729+
acquired or not. Known values are: "Acquire" and "NotAcquire".
12730+
:vartype acquire_storage_account_lock: str or
12731+
~azure.mgmt.recoveryservicesbackup.activestamp.models.AcquireStorageAccountLock
1272612732
"""
1272712733

1272812734
_attribute_map = {
@@ -12735,6 +12741,8 @@ class BackupStatusResponse(_serialization.Model):
1273512741
"error_message": {"key": "errorMessage", "type": "str"},
1273612742
"policy_name": {"key": "policyName", "type": "str"},
1273712743
"registration_status": {"key": "registrationStatus", "type": "str"},
12744+
"protected_items_count": {"key": "protectedItemsCount", "type": "int"},
12745+
"acquire_storage_account_lock": {"key": "acquireStorageAccountLock", "type": "str"},
1273812746
}
1273912747

1274012748
def __init__(
@@ -12749,6 +12757,8 @@ def __init__(
1274912757
error_message: Optional[str] = None,
1275012758
policy_name: Optional[str] = None,
1275112759
registration_status: Optional[str] = None,
12760+
protected_items_count: Optional[int] = None,
12761+
acquire_storage_account_lock: Optional[Union[str, "_models.AcquireStorageAccountLock"]] = None,
1275212762
**kwargs: Any
1275312763
) -> None:
1275412764
"""
@@ -12775,6 +12785,12 @@ def __init__(
1277512785
:paramtype policy_name: str
1277612786
:keyword registration_status: Container registration status.
1277712787
:paramtype registration_status: str
12788+
:keyword protected_items_count: Number of protected items.
12789+
:paramtype protected_items_count: int
12790+
:keyword acquire_storage_account_lock: Specifies whether the storage account lock has been
12791+
acquired or not. Known values are: "Acquire" and "NotAcquire".
12792+
:paramtype acquire_storage_account_lock: str or
12793+
~azure.mgmt.recoveryservicesbackup.activestamp.models.AcquireStorageAccountLock
1277812794
"""
1277912795
super().__init__(**kwargs)
1278012796
self.protection_status = protection_status
@@ -12786,6 +12802,8 @@ def __init__(
1278612802
self.error_message = error_message
1278712803
self.policy_name = policy_name
1278812804
self.registration_status = registration_status
12805+
self.protected_items_count = protected_items_count
12806+
self.acquire_storage_account_lock = acquire_storage_account_lock
1278912807

1279012808

1279112809
class BEKDetails(_serialization.Model):
@@ -15570,6 +15588,10 @@ class IaasVMRecoveryPoint(RecoveryPoint): # pylint: disable=too-many-instance-a
1557015588
:ivar is_private_access_enabled_on_any_disk: This flag denotes if any of the disks in the VM
1557115589
are using Private access network setting.
1557215590
:vartype is_private_access_enabled_on_any_disk: bool
15591+
:ivar extended_location: Extended location of the VM recovery point,
15592+
should be null if VM is in public cloud.
15593+
:vartype extended_location:
15594+
~azure.mgmt.recoveryservicesbackup.activestamp.models.ExtendedLocation
1557315595
"""
1557415596

1557515597
_validation = {
@@ -15602,6 +15624,7 @@ class IaasVMRecoveryPoint(RecoveryPoint): # pylint: disable=too-many-instance-a
1560215624
"security_type": {"key": "securityType", "type": "str"},
1560315625
"recovery_point_properties": {"key": "recoveryPointProperties", "type": "RecoveryPointProperties"},
1560415626
"is_private_access_enabled_on_any_disk": {"key": "isPrivateAccessEnabledOnAnyDisk", "type": "bool"},
15627+
"extended_location": {"key": "extendedLocation", "type": "ExtendedLocation"},
1560515628
}
1560615629

1560715630
def __init__(
@@ -15625,6 +15648,7 @@ def __init__(
1562515648
security_type: Optional[str] = None,
1562615649
recovery_point_properties: Optional["_models.RecoveryPointProperties"] = None,
1562715650
is_private_access_enabled_on_any_disk: Optional[bool] = None,
15651+
extended_location: Optional["_models.ExtendedLocation"] = None,
1562815652
**kwargs: Any
1562915653
) -> None:
1563015654
"""
@@ -15675,6 +15699,10 @@ def __init__(
1567515699
:keyword is_private_access_enabled_on_any_disk: This flag denotes if any of the disks in the VM
1567615700
are using Private access network setting.
1567715701
:paramtype is_private_access_enabled_on_any_disk: bool
15702+
:keyword extended_location: Extended location of the VM recovery point,
15703+
should be null if VM is in public cloud.
15704+
:paramtype extended_location:
15705+
~azure.mgmt.recoveryservicesbackup.activestamp.models.ExtendedLocation
1567815706
"""
1567915707
super().__init__(**kwargs)
1568015708
self.object_type: str = "IaasVMRecoveryPoint"
@@ -15696,6 +15724,7 @@ def __init__(
1569615724
self.security_type = security_type
1569715725
self.recovery_point_properties = recovery_point_properties
1569815726
self.is_private_access_enabled_on_any_disk = is_private_access_enabled_on_any_disk
15727+
self.extended_location = extended_location
1569915728

1570015729

1570115730
class IaasVMRestoreRequest(RestoreRequest): # pylint: disable=too-many-instance-attributes

sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/passivestamp/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "7.0.0"
9+
VERSION = "1.0.0b1"

0 commit comments

Comments
 (0)