Skip to content
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

[AutoPR track2_azure-mgmt-compute] {AzureCompute} Fix for the rendering issue in azure.mgmt.compute SDK package docs #4107

Closed
wants to merge 1 commit into from
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
8 changes: 4 additions & 4 deletions sdk/compute/azure-mgmt-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "6107f258542bc16f1fdb5c377225246b71ce2143",
"commit": "71f2b4dbcdd3f36c87579e69238d80b6a3d4750b",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"autorest": "3.9.6",
"use": [
"@autorest/python@6.6.0",
"@autorest/modelerfour@4.24.3"
"@autorest/modelerfour@4.26.2"
],
"autorest_command": "autorest specification/compute/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/python@6.6.0 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"autorest_command": "autorest specification/compute/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/python@6.6.0 --use=@autorest/modelerfour@4.26.2 --version=3.9.6 --version-tolerant=False",
"readme": "specification/compute/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "30.1.0"
VERSION = "0.1.0"
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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.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 = "30.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ class AvailabilitySetSkuTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):


class CachingTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the caching requirements. :code:`<br>`:code:`<br>` Possible values are:
:code:`<br>`:code:`<br>` **None** :code:`<br>`:code:`<br>` **ReadOnly**
:code:`<br>`:code:`<br>` **ReadWrite** :code:`<br>`:code:`<br>` Default: **None for Standard
storage. ReadOnly for Premium storage**.
"""Specifies the caching requirements. Possible values are: **None** **ReadOnly**
**ReadWrite** Default: **None for Standard storage. ReadOnly for Premium storage**.
"""

NONE = "None"
Expand Down Expand Up @@ -106,22 +104,21 @@ class DiskControllerTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please
check the HyperVGenerations capability returned as part of VM sku capabilities in the response
of Microsoft.Compute SKUs api for the region contains V2
(https://docs.microsoft.com/rest/api/compute/resourceskus/list) . :code:`<br>` For more
information about Disk Controller Types supported please refer to
https://aka.ms/azure-diskcontrollertypes.
(https://docs.microsoft.com/rest/api/compute/resourceskus/list) . For more information about
Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes.
"""

SCSI = "SCSI"
NV_ME = "NVMe"


class DiskCreateOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies how the virtual machine should be created.:code:`<br>`:code:`<br>` Possible values
are::code:`<br>`:code:`<br>` **Attach** \u2013 This value is used when you are using a
specialized disk to create the virtual machine.:code:`<br>`:code:`<br>` **FromImage** \u2013
This value is used when you are using an image to create the virtual machine. If you are using
a platform image, you also use the imageReference element described above. If you are using a
marketplace image, you also use the plan element previously described.
"""Specifies how the virtual machine should be created. Possible values are: **Attach** \u2013
This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \u2013 This value is used when you are using an image to create the virtual
machine. If you are using a platform image, you also use the imageReference element described
above. If you are using a marketplace image, you also use the plan element previously
described.
"""

FROM_IMAGE = "FromImage"
Expand All @@ -131,10 +128,9 @@ class DiskCreateOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):

class DiskDeleteOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the behavior of the managed disk when the VM gets deleted i.e whether the managed
disk is deleted or detached. Supported values::code:`<br>`:code:`<br>` **Delete** If this value
is used, the managed disk is deleted when VM gets deleted.:code:`<br>`:code:`<br>` **Detach**
If this value is used, the managed disk is retained after VM gets
deleted.:code:`<br>`:code:`<br>` Minimum api-version: 2021-03-01.
disk is deleted or detached. Supported values: **Delete** If this value is used, the managed
disk is deleted when VM gets deleted. **Detach** If this value is used, the managed disk is
retained after VM gets deleted. Minimum api-version: 2021-03-01.
"""

DELETE = "Delete"
Expand All @@ -144,13 +140,13 @@ class DiskDeleteOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class DiskDetachOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the detach behavior to be used while detaching a disk or which is already in the
process of detachment from the virtual machine. Supported values: **ForceDetach**.
:code:`<br>`:code:`<br>` detachOption: **ForceDetach** is applicable only for managed data
disks. If a previous detachment attempt of the data disk did not complete due to an unexpected
failure from the virtual machine and the disk is still not released then use force-detach as a
last resort option to detach the disk forcibly from the VM. All writes might not have been
flushed when using this detach behavior. :code:`<br>`:code:`<br>` This feature is still in
preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk
update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.
detachOption: **ForceDetach** is applicable only for managed data disks. If a previous
detachment attempt of the data disk did not complete due to an unexpected failure from the
virtual machine and the disk is still not released then use force-detach as a last resort
option to detach the disk forcibly from the VM. All writes might not have been flushed when
using this detach behavior. This feature is still in preview mode and is not supported for
VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with
setting detachOption: 'ForceDetach'.
"""

FORCE_DETACH = "ForceDetach"
Expand Down Expand Up @@ -306,8 +302,7 @@ class OperatingSystemType(str, Enum, metaclass=CaseInsensitiveEnumMeta):

class OperatingSystemTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""This property allows you to specify the type of the OS that is included in the disk if creating
a VM from user-image or a specialized VHD. :code:`<br>`:code:`<br>` Possible values are:
:code:`<br>`:code:`<br>` **Windows** :code:`<br>`:code:`<br>` **Linux**.
a VM from user-image or a specialized VHD. Possible values are: **Windows** **Linux**.
"""

WINDOWS = "Windows"
Expand Down Expand Up @@ -375,9 +370,7 @@ class PatchOperationStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):


class ProtocolTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the protocol of WinRM listener. :code:`<br>`:code:`<br>` Possible values are:
:code:`<br>`\ **http** :code:`<br>`:code:`<br>` **https**.
"""
"""Specifies the protocol of WinRM listener. Possible values are: **http** **https**."""

HTTP = "Http"
HTTPS = "Https"
Expand Down Expand Up @@ -466,10 +459,9 @@ class RollingUpgradeStatusCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):


class SecurityEncryptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the EncryptionType of the managed disk. :code:`<br>` It is set to
DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and
VMGuestStateOnly for encryption of just the VMGuestState blob. :code:`<br>`:code:`<br>` NOTE:
It can be set for only Confidential VMs.
"""Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for
encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for
encryption of just the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
"""

VM_GUEST_STATE_ONLY = "VMGuestStateOnly"
Expand All @@ -478,8 +470,7 @@ class SecurityEncryptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):

class SecurityTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the SecurityType of the virtual machine. It has to be set to any specified value to
enable UefiSettings. :code:`<br>`:code:`<br>` Default: UefiSettings will not be enabled unless
this property is set.
enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set.
"""

TRUSTED_LAUNCH = "TrustedLaunch"
Expand Down Expand Up @@ -562,8 +553,8 @@ class VirtualMachineEvictionPolicyTypes(str, Enum, metaclass=CaseInsensitiveEnum

class VirtualMachinePriorityTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the priority for a standalone virtual machine or the virtual machines in the scale
set. :code:`<br>`:code:`<br>` 'Low' enum will be deprecated in the future, please use 'Spot' as
the enum to deploy Azure Spot VM/VMSS.
set. 'Low' enum will be deprecated in the future, please use 'Spot' as the enum to deploy
Azure Spot VM/VMSS.
"""

REGULAR = "Regular"
Expand All @@ -587,18 +578,17 @@ class VirtualMachineScaleSetSkuScaleType(str, Enum, metaclass=CaseInsensitiveEnu


class VirtualMachineSizeTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the size of the virtual machine. :code:`<br>`:code:`<br>` The enum data type is
currently deprecated and will be removed by December 23rd 2023. :code:`<br>`:code:`<br>`
Recommended way to get the list of available sizes is using these APIs:
:code:`<br>`:code:`<br>` `List all available virtual machine sizes in an availability set
<https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes>`_
:code:`<br>`:code:`<br>` `List all available virtual machine sizes in a region
<https://docs.microsoft.com/rest/api/compute/resourceskus/list>`_ :code:`<br>`:code:`<br>`
`List all available virtual machine sizes for resizing
"""Specifies the size of the virtual machine. The enum data type is currently deprecated and will
be removed by December 23rd 2023. Recommended way to get the list of available sizes is using
these APIs: `List all available virtual machine sizes in an availability set
<https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes>`_ `List all
available virtual machine sizes in a region
<https://docs.microsoft.com/rest/api/compute/resourceskus/list>`_ `List all available virtual
machine sizes for resizing
<https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes>`_. For more
information about virtual machine sizes, see `Sizes for virtual machines
<https://docs.microsoft.com/azure/virtual-machines/sizes>`_. :code:`<br>`:code:`<br>` The
available VM sizes depend on region and availability set.
<https://docs.microsoft.com/azure/virtual-machines/sizes>`_. The available VM sizes depend on
region and availability set.
"""

BASIC_A0 = "Basic_A0"
Expand Down
Loading