Skip to content

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

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
Expand Up @@ -4,8 +4,8 @@
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "78665b44d4b9295e56664193fc3baa9e0526d15d",
"commit": "95fb0ed83850a8fc44e812fc1dd988ba75530eaf",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/recoveryservicesbackup/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
"autorest_command": "autorest specification/recoveryservicesbackup/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RecoveryServicesBackupClientConfiguration(Configuration): # pylint: disab
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription Id.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2021-12-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
"""
Expand All @@ -41,7 +41,7 @@ def __init__(
**kwargs: Any
) -> None:
super(RecoveryServicesBackupClientConfiguration, self).__init__(**kwargs)
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-12-01",
"total_api_version_list": ["2021-12-01"],
"chosen_version": "2022-03-01",
"total_api_version_list": ["2022-03-01"],
"client": {
"name": "RecoveryServicesBackupClient",
"filename": "_recovery_services_backup_client",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
: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 "2021-12-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
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 = "4.2.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RecoveryServicesBackupClientConfiguration(Configuration): # pylint: disab
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The subscription Id.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2021-12-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
"""
Expand All @@ -41,7 +41,7 @@ def __init__(
**kwargs: Any
) -> None:
super(RecoveryServicesBackupClientConfiguration, self).__init__(**kwargs)
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

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 @@ -180,7 +180,7 @@ class RecoveryServicesBackupClient(RecoveryServicesBackupClientOperationsMixin):
: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 "2021-12-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
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.BackupEngineBaseResourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.BackupEngineBaseResourceList"]
error_map = {
Expand Down Expand Up @@ -174,7 +174,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.JobResourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.JobResourceList"]
error_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async def get( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.ProtectionPolicyResourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.ProtectionPolicyResourceList"]
error_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.WorkloadProtectableItemResourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.WorkloadProtectableItemResourceList"]
error_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.ProtectedItemResourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.ProtectedItemResourceList"]
error_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.ProtectionContainerResourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.ProtectionContainerResourceList"]
error_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.ProtectionIntentResourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.ProtectionIntentResourceList"]
error_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down Expand Up @@ -133,7 +133,7 @@ async def update( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'BackupResourceEncryptionConfigResource')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down Expand Up @@ -132,7 +132,7 @@ async def update(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'BackupResourceConfigResource')
Expand Down Expand Up @@ -200,7 +200,7 @@ async def patch( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'BackupResourceConfigResource')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down Expand Up @@ -132,7 +132,7 @@ async def update(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'BackupResourceVaultConfigResource')
Expand Down Expand Up @@ -200,7 +200,7 @@ async def put(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'BackupResourceVaultConfigResource')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'BackupStatusRequest')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.BackupManagementUsageList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.BackupManagementUsageList"]
error_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.WorkloadItemResourceList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.WorkloadItemResourceList"]
error_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def trigger( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'BackupRequestResource')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async def validate(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'FeatureSupportRequest')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def provision( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'ILRRequestResource')
Expand Down Expand Up @@ -168,7 +168,7 @@ async def revoke( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_revoke_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def trigger( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_trigger_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def get(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async def get( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_get_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def export( # pylint: disable=inconsistent-return-statements
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str


request = build_export_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def validate(
}
error_map.update(kwargs.pop('error_map', {}))

api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str
content_type = kwargs.pop('content_type', "application/json") # type: Optional[str]

_json = self._serialize.body(parameters, 'ValidateOperationRequest')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def list(
~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.recoveryservicesbackup.activestamp.models.ClientDiscoveryResponse]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = kwargs.pop('api_version', "2021-12-01") # type: str
api_version = kwargs.pop('api_version', "2022-03-01") # type: str

cls = kwargs.pop('cls', None) # type: ClsType["_models.ClientDiscoveryResponse"]
error_map = {
Expand Down
Loading