Skip to content
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
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/[email protected]",
"@autorest/[email protected]"
],
"commit": "fda2db441da3f1fab31bb235e97da3e33c8e3903",
"commit": "f70ac60ffff09732e98a5b1d9dbb1c3f1baab9b9",
"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/[email protected] --use=@autorest/[email protected] --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/[email protected] --use=@autorest/[email protected] --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 @@ -6818,8 +6818,8 @@ class SshPublicKey(msrest.serialization.Model):
:vartype path: str
:ivar key_data: SSH public key certificate used to authenticate with the VM through ssh. The
key needs to be at least 2048-bit and in ssh-rsa format. :code:`<br>`:code:`<br>` For creating
ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in
Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
<https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed>`_.
:vartype key_data: str
"""

Expand All @@ -6842,8 +6842,8 @@ def __init__(
:paramtype path: str
:keyword key_data: SSH public key certificate used to authenticate with the VM through ssh. The
key needs to be at least 2048-bit and in ssh-rsa format. :code:`<br>`:code:`<br>` For creating
ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in
Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
<https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed>`_.
:paramtype key_data: str
"""
super(SshPublicKey, self).__init__(**kwargs)
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 @@ -251,7 +251,7 @@ class NetworkApiVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta):
TWO_THOUSAND_TWENTY11_01 = "2020-11-01"

class OperatingSystemStateTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The OS State.
"""The OS State. For managed images, use Generalized.
"""

#: Generalized image. Needs to be provisioned during deployment time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3296,7 +3296,8 @@ class ImageOSDisk(ImageDisk):
values are: :code:`<br>`:code:`<br>` **Windows** :code:`<br>`:code:`<br>` **Linux**. Known
values are: "Windows", "Linux".
:vartype os_type: str or ~azure.mgmt.compute.v2022_03_01.models.OperatingSystemTypes
:ivar os_state: Required. The OS State. Known values are: "Generalized", "Specialized".
:ivar os_state: Required. The OS State. For managed images, use Generalized. Known values are:
"Generalized", "Specialized".
:vartype os_state: str or ~azure.mgmt.compute.v2022_03_01.models.OperatingSystemStateTypes
"""

Expand Down Expand Up @@ -3362,7 +3363,8 @@ def __init__(
values are: :code:`<br>`:code:`<br>` **Windows** :code:`<br>`:code:`<br>` **Linux**. Known
values are: "Windows", "Linux".
:paramtype os_type: str or ~azure.mgmt.compute.v2022_03_01.models.OperatingSystemTypes
:keyword os_state: Required. The OS State. Known values are: "Generalized", "Specialized".
:keyword os_state: Required. The OS State. For managed images, use Generalized. Known values
are: "Generalized", "Specialized".
:paramtype os_state: str or ~azure.mgmt.compute.v2022_03_01.models.OperatingSystemStateTypes
"""
super(ImageOSDisk, self).__init__(snapshot=snapshot, managed_disk=managed_disk, blob_uri=blob_uri, caching=caching, disk_size_gb=disk_size_gb, storage_account_type=storage_account_type, disk_encryption_set=disk_encryption_set, **kwargs)
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"