Skip to content

Commit

Permalink
CodeGen from PR 19679 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
  • Loading branch information
SDKAuto committed Jul 8, 2022
1 parent adbb259 commit 7a45763
Show file tree
Hide file tree
Showing 39 changed files with 48 additions and 52 deletions.
4 changes: 2 additions & 2 deletions sdk/compute/azure-mgmt-compute/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.16.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "fda2db441da3f1fab31bb235e97da3e33c8e3903",
"commit": "fa316bdc113501b12242ff1b90b7faba607a34fe",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/compute/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/compute/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/compute/resource-manager/readme.md"
}
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------

import datetime
from typing import Any, Dict, List, Optional, TYPE_CHECKING, Union
from typing import Dict, List, Optional, TYPE_CHECKING, Union

import msrest.serialization

Expand Down Expand Up @@ -2721,7 +2721,7 @@ class SharingProfile(msrest.serialization.Model):
:vartype groups: list[~azure.mgmt.compute.v2021_10_01.models.SharingProfileGroup]
:ivar community_gallery_info: Information of community gallery if current gallery is shared to
community.
:vartype community_gallery_info: any
:vartype community_gallery_info: ~azure.mgmt.compute.v2021_10_01.models.CommunityGalleryInfo
"""

_validation = {
Expand All @@ -2731,14 +2731,14 @@ class SharingProfile(msrest.serialization.Model):
_attribute_map = {
'permissions': {'key': 'permissions', 'type': 'str'},
'groups': {'key': 'groups', 'type': '[SharingProfileGroup]'},
'community_gallery_info': {'key': 'communityGalleryInfo', 'type': 'object'},
'community_gallery_info': {'key': 'communityGalleryInfo', 'type': 'CommunityGalleryInfo'},
}

def __init__(
self,
*,
permissions: Optional[Union[str, "_models.GallerySharingPermissionTypes"]] = None,
community_gallery_info: Optional[Any] = None,
community_gallery_info: Optional["_models.CommunityGalleryInfo"] = None,
**kwargs
):
"""
Expand All @@ -2749,7 +2749,7 @@ def __init__(
~azure.mgmt.compute.v2021_10_01.models.GallerySharingPermissionTypes
:keyword community_gallery_info: Information of community gallery if current gallery is shared
to community.
:paramtype community_gallery_info: any
:paramtype community_gallery_info: ~azure.mgmt.compute.v2021_10_01.models.CommunityGalleryInfo
"""
super(SharingProfile, self).__init__(**kwargs)
self.permissions = permissions
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 = "27.2.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,7 @@ async def begin_restart( # pylint: disable=inconsistent-return-statements
"""Restart the dedicated host. The operation will complete successfully once the dedicated host
has restarted and is running. To determine the health of VMs deployed on the dedicated host
after the restart check the Resource Health Center in the Azure Portal. Please refer to
https://docs.microsoft.com/en-us/azure/service-health/resource-health-overview for more
details.
https://docs.microsoft.com/azure/service-health/resource-health-overview for more details.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,7 @@ def begin_restart( # pylint: disable=inconsistent-return-statements
"""Restart the dedicated host. The operation will complete successfully once the dedicated host
has restarted and is running. To determine the health of VMs deployed on the dedicated host
after the restart check the Resource Health Center in the Azure Portal. Please refer to
https://docs.microsoft.com/en-us/azure/service-health/resource-health-overview for more
details.
https://docs.microsoft.com/azure/service-health/resource-health-overview for more details.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------

import datetime
from typing import Any, Dict, List, Optional, TYPE_CHECKING, Union
from typing import Dict, List, Optional, TYPE_CHECKING, Union

import msrest.serialization

Expand Down Expand Up @@ -3798,7 +3798,7 @@ class SharingProfile(msrest.serialization.Model):
:vartype groups: list[~azure.mgmt.compute.v2022_01_03.models.SharingProfileGroup]
:ivar community_gallery_info: Information of community gallery if current gallery is shared to
community.
:vartype community_gallery_info: any
:vartype community_gallery_info: ~azure.mgmt.compute.v2022_01_03.models.CommunityGalleryInfo
"""

_validation = {
Expand All @@ -3808,14 +3808,14 @@ class SharingProfile(msrest.serialization.Model):
_attribute_map = {
'permissions': {'key': 'permissions', 'type': 'str'},
'groups': {'key': 'groups', 'type': '[SharingProfileGroup]'},
'community_gallery_info': {'key': 'communityGalleryInfo', 'type': 'object'},
'community_gallery_info': {'key': 'communityGalleryInfo', 'type': 'CommunityGalleryInfo'},
}

def __init__(
self,
*,
permissions: Optional[Union[str, "_models.GallerySharingPermissionTypes"]] = None,
community_gallery_info: Optional[Any] = None,
community_gallery_info: Optional["_models.CommunityGalleryInfo"] = None,
**kwargs
):
"""
Expand All @@ -3827,7 +3827,7 @@ def __init__(
~azure.mgmt.compute.v2022_01_03.models.GallerySharingPermissionTypes
:keyword community_gallery_info: Information of community gallery if current gallery is shared
to community.
:paramtype community_gallery_info: any
:paramtype community_gallery_info: ~azure.mgmt.compute.v2022_01_03.models.CommunityGalleryInfo
"""
super(SharingProfile, self).__init__(**kwargs)
self.permissions = permissions
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 = "27.2.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,7 @@ async def begin_restart( # pylint: disable=inconsistent-return-statements
"""Restart the dedicated host. The operation will complete successfully once the dedicated host
has restarted and is running. To determine the health of VMs deployed on the dedicated host
after the restart check the Resource Health Center in the Azure Portal. Please refer to
https://docs.microsoft.com/en-us/azure/service-health/resource-health-overview for more
details.
https://docs.microsoft.com/azure/service-health/resource-health-overview for more details.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,7 @@ def begin_restart( # pylint: disable=inconsistent-return-statements
"""Restart the dedicated host. The operation will complete successfully once the dedicated host
has restarted and is running. To determine the health of VMs deployed on the dedicated host
after the restart check the Resource Health Center in the Azure Portal. Please refer to
https://docs.microsoft.com/en-us/azure/service-health/resource-health-overview for more
details.
https://docs.microsoft.com/azure/service-health/resource-health-overview for more details.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
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 = "27.2.0"
VERSION = "1.0.0b1"
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 = "27.2.0"
VERSION = "1.0.0b1"

0 comments on commit 7a45763

Please sign in to comment.