From 1a170b2dd08470bd79bff0b082976919d695132a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 18 Aug 2018 06:54:17 +0000 Subject: [PATCH 1/2] Generated from 45a695f12bca8bf8b3532a4d1c8f02571f83bf51 Add HyperV property for AppServicePlan and Site model and deprecating IsXenon property --- .../azure/mgmt/web/models/app_service_plan.py | 9 +++++++-- .../web/models/app_service_plan_patch_resource.py | 9 +++++++-- .../web/models/app_service_plan_patch_resource_py3.py | 11 ++++++++--- .../azure/mgmt/web/models/app_service_plan_py3.py | 11 ++++++++--- azure-mgmt-web/azure/mgmt/web/models/site.py | 6 +++++- .../azure/mgmt/web/models/site_patch_resource.py | 6 +++++- .../azure/mgmt/web/models/site_patch_resource_py3.py | 8 ++++++-- azure-mgmt-web/azure/mgmt/web/models/site_py3.py | 8 ++++++-- 8 files changed, 52 insertions(+), 16 deletions(-) diff --git a/azure-mgmt-web/azure/mgmt/web/models/app_service_plan.py b/azure-mgmt-web/azure/mgmt/web/models/app_service_plan.py index 964fa959409c..c34010da2706 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/app_service_plan.py +++ b/azure-mgmt-web/azure/mgmt/web/models/app_service_plan.py @@ -72,9 +72,12 @@ class AppServicePlan(Resource): :param reserved: If Linux app service plan true, false otherwise. Default value: False . :type reserved: bool - :param is_xenon: If Hyper-V container app service plan true, - false otherwise. Default value: False . + :param is_xenon: Obsolete: If Hyper-V container app service plan + true, false otherwise. Default value: False . :type is_xenon: bool + :param hyper_v: If Hyper-V container app service plan true, + false otherwise. Default value: False . + :type hyper_v: bool :param target_worker_count: Scaling worker count. :type target_worker_count: int :param target_worker_size_id: Scaling worker size ID. @@ -124,6 +127,7 @@ class AppServicePlan(Resource): 'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'}, 'reserved': {'key': 'properties.reserved', 'type': 'bool'}, 'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'}, + 'hyper_v': {'key': 'properties.hyperV', 'type': 'bool'}, 'target_worker_count': {'key': 'properties.targetWorkerCount', 'type': 'int'}, 'target_worker_size_id': {'key': 'properties.targetWorkerSizeId', 'type': 'int'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, @@ -147,6 +151,7 @@ def __init__(self, **kwargs): self.resource_group = None self.reserved = kwargs.get('reserved', False) self.is_xenon = kwargs.get('is_xenon', False) + self.hyper_v = kwargs.get('hyper_v', False) self.target_worker_count = kwargs.get('target_worker_count', None) self.target_worker_size_id = kwargs.get('target_worker_size_id', None) self.provisioning_state = None diff --git a/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_patch_resource.py b/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_patch_resource.py index f1ee1e51c04c..fe641394a178 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_patch_resource.py +++ b/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_patch_resource.py @@ -66,9 +66,12 @@ class AppServicePlanPatchResource(ProxyOnlyResource): :param reserved: If Linux app service plan true, false otherwise. Default value: False . :type reserved: bool - :param is_xenon: If Hyper-V container app service plan true, - false otherwise. Default value: False . + :param is_xenon: Obsolete: If Hyper-V container app service plan + true, false otherwise. Default value: False . :type is_xenon: bool + :param hyper_v: If Hyper-V container app service plan true, + false otherwise. Default value: False . + :type hyper_v: bool :param target_worker_count: Scaling worker count. :type target_worker_count: int :param target_worker_size_id: Scaling worker size ID. @@ -113,6 +116,7 @@ class AppServicePlanPatchResource(ProxyOnlyResource): 'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'}, 'reserved': {'key': 'properties.reserved', 'type': 'bool'}, 'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'}, + 'hyper_v': {'key': 'properties.hyperV', 'type': 'bool'}, 'target_worker_count': {'key': 'properties.targetWorkerCount', 'type': 'int'}, 'target_worker_size_id': {'key': 'properties.targetWorkerSizeId', 'type': 'int'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, @@ -135,6 +139,7 @@ def __init__(self, **kwargs): self.resource_group = None self.reserved = kwargs.get('reserved', False) self.is_xenon = kwargs.get('is_xenon', False) + self.hyper_v = kwargs.get('hyper_v', False) self.target_worker_count = kwargs.get('target_worker_count', None) self.target_worker_size_id = kwargs.get('target_worker_size_id', None) self.provisioning_state = None diff --git a/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_patch_resource_py3.py b/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_patch_resource_py3.py index 10d555ee877c..0d04154d0093 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_patch_resource_py3.py +++ b/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_patch_resource_py3.py @@ -66,9 +66,12 @@ class AppServicePlanPatchResource(ProxyOnlyResource): :param reserved: If Linux app service plan true, false otherwise. Default value: False . :type reserved: bool - :param is_xenon: If Hyper-V container app service plan true, - false otherwise. Default value: False . + :param is_xenon: Obsolete: If Hyper-V container app service plan + true, false otherwise. Default value: False . :type is_xenon: bool + :param hyper_v: If Hyper-V container app service plan true, + false otherwise. Default value: False . + :type hyper_v: bool :param target_worker_count: Scaling worker count. :type target_worker_count: int :param target_worker_size_id: Scaling worker size ID. @@ -113,12 +116,13 @@ class AppServicePlanPatchResource(ProxyOnlyResource): 'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'}, 'reserved': {'key': 'properties.reserved', 'type': 'bool'}, 'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'}, + 'hyper_v': {'key': 'properties.hyperV', 'type': 'bool'}, 'target_worker_count': {'key': 'properties.targetWorkerCount', 'type': 'int'}, 'target_worker_size_id': {'key': 'properties.targetWorkerSizeId', 'type': 'int'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, } - def __init__(self, *, kind: str=None, worker_tier_name: str=None, admin_site_name: str=None, hosting_environment_profile=None, per_site_scaling: bool=False, is_spot: bool=None, spot_expiration_time=None, free_offer_expiration_time=None, reserved: bool=False, is_xenon: bool=False, target_worker_count: int=None, target_worker_size_id: int=None, **kwargs) -> None: + def __init__(self, *, kind: str=None, worker_tier_name: str=None, admin_site_name: str=None, hosting_environment_profile=None, per_site_scaling: bool=False, is_spot: bool=None, spot_expiration_time=None, free_offer_expiration_time=None, reserved: bool=False, is_xenon: bool=False, hyper_v: bool=False, target_worker_count: int=None, target_worker_size_id: int=None, **kwargs) -> None: super(AppServicePlanPatchResource, self).__init__(kind=kind, **kwargs) self.worker_tier_name = worker_tier_name self.status = None @@ -135,6 +139,7 @@ def __init__(self, *, kind: str=None, worker_tier_name: str=None, admin_site_nam self.resource_group = None self.reserved = reserved self.is_xenon = is_xenon + self.hyper_v = hyper_v self.target_worker_count = target_worker_count self.target_worker_size_id = target_worker_size_id self.provisioning_state = None diff --git a/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_py3.py b/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_py3.py index 5ce4203df04f..3a8d6e22c267 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_py3.py +++ b/azure-mgmt-web/azure/mgmt/web/models/app_service_plan_py3.py @@ -72,9 +72,12 @@ class AppServicePlan(Resource): :param reserved: If Linux app service plan true, false otherwise. Default value: False . :type reserved: bool - :param is_xenon: If Hyper-V container app service plan true, - false otherwise. Default value: False . + :param is_xenon: Obsolete: If Hyper-V container app service plan + true, false otherwise. Default value: False . :type is_xenon: bool + :param hyper_v: If Hyper-V container app service plan true, + false otherwise. Default value: False . + :type hyper_v: bool :param target_worker_count: Scaling worker count. :type target_worker_count: int :param target_worker_size_id: Scaling worker size ID. @@ -124,13 +127,14 @@ class AppServicePlan(Resource): 'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'}, 'reserved': {'key': 'properties.reserved', 'type': 'bool'}, 'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'}, + 'hyper_v': {'key': 'properties.hyperV', 'type': 'bool'}, 'target_worker_count': {'key': 'properties.targetWorkerCount', 'type': 'int'}, 'target_worker_size_id': {'key': 'properties.targetWorkerSizeId', 'type': 'int'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, 'sku': {'key': 'sku', 'type': 'SkuDescription'}, } - def __init__(self, *, location: str, kind: str=None, tags=None, worker_tier_name: str=None, admin_site_name: str=None, hosting_environment_profile=None, per_site_scaling: bool=False, is_spot: bool=None, spot_expiration_time=None, free_offer_expiration_time=None, reserved: bool=False, is_xenon: bool=False, target_worker_count: int=None, target_worker_size_id: int=None, sku=None, **kwargs) -> None: + def __init__(self, *, location: str, kind: str=None, tags=None, worker_tier_name: str=None, admin_site_name: str=None, hosting_environment_profile=None, per_site_scaling: bool=False, is_spot: bool=None, spot_expiration_time=None, free_offer_expiration_time=None, reserved: bool=False, is_xenon: bool=False, hyper_v: bool=False, target_worker_count: int=None, target_worker_size_id: int=None, sku=None, **kwargs) -> None: super(AppServicePlan, self).__init__(kind=kind, location=location, tags=tags, **kwargs) self.worker_tier_name = worker_tier_name self.status = None @@ -147,6 +151,7 @@ def __init__(self, *, location: str, kind: str=None, tags=None, worker_tier_name self.resource_group = None self.reserved = reserved self.is_xenon = is_xenon + self.hyper_v = hyper_v self.target_worker_count = target_worker_count self.target_worker_size_id = target_worker_size_id self.provisioning_state = None diff --git a/azure-mgmt-web/azure/mgmt/web/models/site.py b/azure-mgmt-web/azure/mgmt/web/models/site.py index f244ac523067..0bf04d727a18 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/site.py +++ b/azure-mgmt-web/azure/mgmt/web/models/site.py @@ -64,8 +64,10 @@ class Site(Resource): :param reserved: true if reserved; otherwise, false. Default value: False . :type reserved: bool - :param is_xenon: Hyper-V sandbox. Default value: False . + :param is_xenon: Obsolete: Hyper-V sandbox. Default value: False . :type is_xenon: bool + :param hyper_v: Hyper-V sandbox. Default value: False . + :type hyper_v: bool :ivar last_modified_time_utc: Last time the app was modified, in UTC. Read-only. :vartype last_modified_time_utc: datetime @@ -181,6 +183,7 @@ class Site(Resource): 'server_farm_id': {'key': 'properties.serverFarmId', 'type': 'str'}, 'reserved': {'key': 'properties.reserved', 'type': 'bool'}, 'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'}, + 'hyper_v': {'key': 'properties.hyperV', 'type': 'bool'}, 'last_modified_time_utc': {'key': 'properties.lastModifiedTimeUtc', 'type': 'iso-8601'}, 'site_config': {'key': 'properties.siteConfig', 'type': 'SiteConfig'}, 'traffic_manager_host_names': {'key': 'properties.trafficManagerHostNames', 'type': '[str]'}, @@ -218,6 +221,7 @@ def __init__(self, **kwargs): self.server_farm_id = kwargs.get('server_farm_id', None) self.reserved = kwargs.get('reserved', False) self.is_xenon = kwargs.get('is_xenon', False) + self.hyper_v = kwargs.get('hyper_v', False) self.last_modified_time_utc = None self.site_config = kwargs.get('site_config', None) self.traffic_manager_host_names = None diff --git a/azure-mgmt-web/azure/mgmt/web/models/site_patch_resource.py b/azure-mgmt-web/azure/mgmt/web/models/site_patch_resource.py index 291bbff47844..392b54229183 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/site_patch_resource.py +++ b/azure-mgmt-web/azure/mgmt/web/models/site_patch_resource.py @@ -58,8 +58,10 @@ class SitePatchResource(ProxyOnlyResource): :param reserved: true if reserved; otherwise, false. Default value: False . :type reserved: bool - :param is_xenon: Hyper-V sandbox. Default value: False . + :param is_xenon: Obsolete: Hyper-V sandbox. Default value: False . :type is_xenon: bool + :param hyper_v: Hyper-V sandbox. Default value: False . + :type hyper_v: bool :ivar last_modified_time_utc: Last time the app was modified, in UTC. Read-only. :vartype last_modified_time_utc: datetime @@ -170,6 +172,7 @@ class SitePatchResource(ProxyOnlyResource): 'server_farm_id': {'key': 'properties.serverFarmId', 'type': 'str'}, 'reserved': {'key': 'properties.reserved', 'type': 'bool'}, 'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'}, + 'hyper_v': {'key': 'properties.hyperV', 'type': 'bool'}, 'last_modified_time_utc': {'key': 'properties.lastModifiedTimeUtc', 'type': 'iso-8601'}, 'site_config': {'key': 'properties.siteConfig', 'type': 'SiteConfig'}, 'traffic_manager_host_names': {'key': 'properties.trafficManagerHostNames', 'type': '[str]'}, @@ -206,6 +209,7 @@ def __init__(self, **kwargs): self.server_farm_id = kwargs.get('server_farm_id', None) self.reserved = kwargs.get('reserved', False) self.is_xenon = kwargs.get('is_xenon', False) + self.hyper_v = kwargs.get('hyper_v', False) self.last_modified_time_utc = None self.site_config = kwargs.get('site_config', None) self.traffic_manager_host_names = None diff --git a/azure-mgmt-web/azure/mgmt/web/models/site_patch_resource_py3.py b/azure-mgmt-web/azure/mgmt/web/models/site_patch_resource_py3.py index f3e23f94d291..e459e6d70bbd 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/site_patch_resource_py3.py +++ b/azure-mgmt-web/azure/mgmt/web/models/site_patch_resource_py3.py @@ -58,8 +58,10 @@ class SitePatchResource(ProxyOnlyResource): :param reserved: true if reserved; otherwise, false. Default value: False . :type reserved: bool - :param is_xenon: Hyper-V sandbox. Default value: False . + :param is_xenon: Obsolete: Hyper-V sandbox. Default value: False . :type is_xenon: bool + :param hyper_v: Hyper-V sandbox. Default value: False . + :type hyper_v: bool :ivar last_modified_time_utc: Last time the app was modified, in UTC. Read-only. :vartype last_modified_time_utc: datetime @@ -170,6 +172,7 @@ class SitePatchResource(ProxyOnlyResource): 'server_farm_id': {'key': 'properties.serverFarmId', 'type': 'str'}, 'reserved': {'key': 'properties.reserved', 'type': 'bool'}, 'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'}, + 'hyper_v': {'key': 'properties.hyperV', 'type': 'bool'}, 'last_modified_time_utc': {'key': 'properties.lastModifiedTimeUtc', 'type': 'iso-8601'}, 'site_config': {'key': 'properties.siteConfig', 'type': 'SiteConfig'}, 'traffic_manager_host_names': {'key': 'properties.trafficManagerHostNames', 'type': '[str]'}, @@ -193,7 +196,7 @@ class SitePatchResource(ProxyOnlyResource): 'https_only': {'key': 'properties.httpsOnly', 'type': 'bool'}, } - def __init__(self, *, kind: str=None, enabled: bool=None, host_name_ssl_states=None, server_farm_id: str=None, reserved: bool=False, is_xenon: bool=False, site_config=None, scm_site_also_stopped: bool=False, hosting_environment_profile=None, client_affinity_enabled: bool=None, client_cert_enabled: bool=None, host_names_disabled: bool=None, container_size: int=None, daily_memory_time_quota: int=None, cloning_info=None, https_only: bool=None, **kwargs) -> None: + def __init__(self, *, kind: str=None, enabled: bool=None, host_name_ssl_states=None, server_farm_id: str=None, reserved: bool=False, is_xenon: bool=False, hyper_v: bool=False, site_config=None, scm_site_also_stopped: bool=False, hosting_environment_profile=None, client_affinity_enabled: bool=None, client_cert_enabled: bool=None, host_names_disabled: bool=None, container_size: int=None, daily_memory_time_quota: int=None, cloning_info=None, https_only: bool=None, **kwargs) -> None: super(SitePatchResource, self).__init__(kind=kind, **kwargs) self.state = None self.host_names = None @@ -206,6 +209,7 @@ def __init__(self, *, kind: str=None, enabled: bool=None, host_name_ssl_states=N self.server_farm_id = server_farm_id self.reserved = reserved self.is_xenon = is_xenon + self.hyper_v = hyper_v self.last_modified_time_utc = None self.site_config = site_config self.traffic_manager_host_names = None diff --git a/azure-mgmt-web/azure/mgmt/web/models/site_py3.py b/azure-mgmt-web/azure/mgmt/web/models/site_py3.py index 3fb9e61bdede..d4ec907a9c06 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/site_py3.py +++ b/azure-mgmt-web/azure/mgmt/web/models/site_py3.py @@ -64,8 +64,10 @@ class Site(Resource): :param reserved: true if reserved; otherwise, false. Default value: False . :type reserved: bool - :param is_xenon: Hyper-V sandbox. Default value: False . + :param is_xenon: Obsolete: Hyper-V sandbox. Default value: False . :type is_xenon: bool + :param hyper_v: Hyper-V sandbox. Default value: False . + :type hyper_v: bool :ivar last_modified_time_utc: Last time the app was modified, in UTC. Read-only. :vartype last_modified_time_utc: datetime @@ -181,6 +183,7 @@ class Site(Resource): 'server_farm_id': {'key': 'properties.serverFarmId', 'type': 'str'}, 'reserved': {'key': 'properties.reserved', 'type': 'bool'}, 'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'}, + 'hyper_v': {'key': 'properties.hyperV', 'type': 'bool'}, 'last_modified_time_utc': {'key': 'properties.lastModifiedTimeUtc', 'type': 'iso-8601'}, 'site_config': {'key': 'properties.siteConfig', 'type': 'SiteConfig'}, 'traffic_manager_host_names': {'key': 'properties.trafficManagerHostNames', 'type': '[str]'}, @@ -205,7 +208,7 @@ class Site(Resource): 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, } - def __init__(self, *, location: str, kind: str=None, tags=None, enabled: bool=None, host_name_ssl_states=None, server_farm_id: str=None, reserved: bool=False, is_xenon: bool=False, site_config=None, scm_site_also_stopped: bool=False, hosting_environment_profile=None, client_affinity_enabled: bool=None, client_cert_enabled: bool=None, host_names_disabled: bool=None, container_size: int=None, daily_memory_time_quota: int=None, cloning_info=None, https_only: bool=None, identity=None, **kwargs) -> None: + def __init__(self, *, location: str, kind: str=None, tags=None, enabled: bool=None, host_name_ssl_states=None, server_farm_id: str=None, reserved: bool=False, is_xenon: bool=False, hyper_v: bool=False, site_config=None, scm_site_also_stopped: bool=False, hosting_environment_profile=None, client_affinity_enabled: bool=None, client_cert_enabled: bool=None, host_names_disabled: bool=None, container_size: int=None, daily_memory_time_quota: int=None, cloning_info=None, https_only: bool=None, identity=None, **kwargs) -> None: super(Site, self).__init__(kind=kind, location=location, tags=tags, **kwargs) self.state = None self.host_names = None @@ -218,6 +221,7 @@ def __init__(self, *, location: str, kind: str=None, tags=None, enabled: bool=No self.server_farm_id = server_farm_id self.reserved = reserved self.is_xenon = is_xenon + self.hyper_v = hyper_v self.last_modified_time_utc = None self.site_config = site_config self.traffic_manager_host_names = None From c4b261e8d1dfc27e6f35c96d9fd0562117cf7a0d Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 21 Aug 2018 22:32:49 +0000 Subject: [PATCH 2/2] Generated from 5a76ead1e9a3559ab3bce148ec8f282f068d18d1 Merge remote-tracking branch 'upstream/master' --- azure-mgmt-web/azure/mgmt/web/models/backup_request.py | 4 ++++ azure-mgmt-web/azure/mgmt/web/models/backup_request_py3.py | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/azure-mgmt-web/azure/mgmt/web/models/backup_request.py b/azure-mgmt-web/azure/mgmt/web/models/backup_request.py index 8d7f6e58cbb3..496fc5bd9251 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/backup_request.py +++ b/azure-mgmt-web/azure/mgmt/web/models/backup_request.py @@ -28,6 +28,8 @@ class BackupRequest(ProxyOnlyResource): :type kind: str :ivar type: Resource type. :vartype type: str + :param backup_name: Name of the backup. + :type backup_name: str :param enabled: True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. :type enabled: bool @@ -52,6 +54,7 @@ class BackupRequest(ProxyOnlyResource): 'name': {'key': 'name', 'type': 'str'}, 'kind': {'key': 'kind', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'backup_name': {'key': 'properties.backupName', 'type': 'str'}, 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, 'storage_account_url': {'key': 'properties.storageAccountUrl', 'type': 'str'}, 'backup_schedule': {'key': 'properties.backupSchedule', 'type': 'BackupSchedule'}, @@ -60,6 +63,7 @@ class BackupRequest(ProxyOnlyResource): def __init__(self, **kwargs): super(BackupRequest, self).__init__(**kwargs) + self.backup_name = kwargs.get('backup_name', None) self.enabled = kwargs.get('enabled', None) self.storage_account_url = kwargs.get('storage_account_url', None) self.backup_schedule = kwargs.get('backup_schedule', None) diff --git a/azure-mgmt-web/azure/mgmt/web/models/backup_request_py3.py b/azure-mgmt-web/azure/mgmt/web/models/backup_request_py3.py index ce7a46fe117f..9eaad232bb94 100644 --- a/azure-mgmt-web/azure/mgmt/web/models/backup_request_py3.py +++ b/azure-mgmt-web/azure/mgmt/web/models/backup_request_py3.py @@ -28,6 +28,8 @@ class BackupRequest(ProxyOnlyResource): :type kind: str :ivar type: Resource type. :vartype type: str + :param backup_name: Name of the backup. + :type backup_name: str :param enabled: True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. :type enabled: bool @@ -52,14 +54,16 @@ class BackupRequest(ProxyOnlyResource): 'name': {'key': 'name', 'type': 'str'}, 'kind': {'key': 'kind', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'backup_name': {'key': 'properties.backupName', 'type': 'str'}, 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, 'storage_account_url': {'key': 'properties.storageAccountUrl', 'type': 'str'}, 'backup_schedule': {'key': 'properties.backupSchedule', 'type': 'BackupSchedule'}, 'databases': {'key': 'properties.databases', 'type': '[DatabaseBackupSetting]'}, } - def __init__(self, *, storage_account_url: str, kind: str=None, enabled: bool=None, backup_schedule=None, databases=None, **kwargs) -> None: + def __init__(self, *, storage_account_url: str, kind: str=None, backup_name: str=None, enabled: bool=None, backup_schedule=None, databases=None, **kwargs) -> None: super(BackupRequest, self).__init__(kind=kind, **kwargs) + self.backup_name = backup_name self.enabled = enabled self.storage_account_url = storage_account_url self.backup_schedule = backup_schedule