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] Add swagger for Compute Diagnostic Resource Provider #7139

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
2 changes: 1 addition & 1 deletion sdk/compute/azure-mgmt-compute/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "48796aff62fdca25b201bfcbe587729a40a6b851",
"commit": "ddbaa89be7257c8b2f3cb4cb20ac6869baa3ef2b",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/compute/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/compute/resource-manager/readme.md"
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions sdk/compute/azure-mgmt-compute/azure/mgmt/compute/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from .v2019_04_01.models import *
from .v2020_09_30.models import *
from .v2020_12_01.models import *
from .v2021_03_01.models import *
from .v2021_04_01.models import *
from .v2021_07_01.models import *
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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.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 = "22.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -3709,7 +3709,11 @@ class OSProfile(msrest.serialization.Model):
<https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros>`_.
:type linux_configuration: ~azure.mgmt.compute.v2021_03_01.models.LinuxConfiguration
:param secrets: Specifies set of certificates that should be installed onto the virtual
machine.
machine. To install certificates on a virtual machine it is recommended to use the `Azure Key
Vault virtual machine extension for Linux
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the `Azure
Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type secrets: list[~azure.mgmt.compute.v2021_03_01.models.VaultSecretGroup]
:param allow_extension_operations: Specifies whether extension operations should be allowed on
the virtual machine. :code:`<br>`:code:`<br>`This may only be set to False when no extensions
Expand Down Expand Up @@ -6354,8 +6358,12 @@ class VaultCertificate(msrest.serialization.Model):
<https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add>`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
in UTF-8: :code:`<br>`:code:`<br>` {:code:`<br>`
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`}.
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`} :code:`<br>` To install certificates on a
virtual machine it is recommended to use the `Azure Key Vault virtual machine extension for
Linux <https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the
`Azure Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type certificate_url: str
:param certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
Expand Down Expand Up @@ -9232,7 +9240,11 @@ class VirtualMachineScaleSetOSProfile(msrest.serialization.Model):
<https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros>`_.
:type linux_configuration: ~azure.mgmt.compute.v2021_03_01.models.LinuxConfiguration
:param secrets: Specifies set of certificates that should be installed onto the virtual
machines in the scale set.
machines in the scale set. To install certificates on a virtual machine it is recommended to
use the `Azure Key Vault virtual machine extension for Linux
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the `Azure
Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type secrets: list[~azure.mgmt.compute.v2021_03_01.models.VaultSecretGroup]
"""

Expand Down Expand Up @@ -11097,8 +11109,12 @@ class WinRMListener(msrest.serialization.Model):
<https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add>`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
in UTF-8: :code:`<br>`:code:`<br>` {:code:`<br>`
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`}.
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`} :code:`<br>` To install certificates on a
virtual machine it is recommended to use the `Azure Key Vault virtual machine extension for
Linux <https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the
`Azure Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type certificate_url: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4061,7 +4061,11 @@ class OSProfile(msrest.serialization.Model):
<https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros>`_.
:type linux_configuration: ~azure.mgmt.compute.v2021_03_01.models.LinuxConfiguration
:param secrets: Specifies set of certificates that should be installed onto the virtual
machine.
machine. To install certificates on a virtual machine it is recommended to use the `Azure Key
Vault virtual machine extension for Linux
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the `Azure
Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type secrets: list[~azure.mgmt.compute.v2021_03_01.models.VaultSecretGroup]
:param allow_extension_operations: Specifies whether extension operations should be allowed on
the virtual machine. :code:`<br>`:code:`<br>`This may only be set to False when no extensions
Expand Down Expand Up @@ -6924,8 +6928,12 @@ class VaultCertificate(msrest.serialization.Model):
<https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add>`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
in UTF-8: :code:`<br>`:code:`<br>` {:code:`<br>`
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`}.
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`} :code:`<br>` To install certificates on a
virtual machine it is recommended to use the `Azure Key Vault virtual machine extension for
Linux <https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the
`Azure Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type certificate_url: str
:param certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
Expand Down Expand Up @@ -10138,7 +10146,11 @@ class VirtualMachineScaleSetOSProfile(msrest.serialization.Model):
<https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros>`_.
:type linux_configuration: ~azure.mgmt.compute.v2021_03_01.models.LinuxConfiguration
:param secrets: Specifies set of certificates that should be installed onto the virtual
machines in the scale set.
machines in the scale set. To install certificates on a virtual machine it is recommended to
use the `Azure Key Vault virtual machine extension for Linux
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the `Azure
Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type secrets: list[~azure.mgmt.compute.v2021_03_01.models.VaultSecretGroup]
"""

Expand Down Expand Up @@ -12227,8 +12239,12 @@ class WinRMListener(msrest.serialization.Model):
<https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add>`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
in UTF-8: :code:`<br>`:code:`<br>` {:code:`<br>`
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`}.
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`} :code:`<br>` To install certificates on a
virtual machine it is recommended to use the `Azure Key Vault virtual machine extension for
Linux <https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the
`Azure Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type certificate_url: 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 = "22.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -3229,7 +3229,11 @@ class OSProfile(msrest.serialization.Model):
<https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros>`_.
:type linux_configuration: ~azure.mgmt.compute.v2021_04_01.models.LinuxConfiguration
:param secrets: Specifies set of certificates that should be installed onto the virtual
machine.
machine. To install certificates on a virtual machine it is recommended to use the `Azure Key
Vault virtual machine extension for Linux
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the `Azure
Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type secrets: list[~azure.mgmt.compute.v2021_04_01.models.VaultSecretGroup]
:param allow_extension_operations: Specifies whether extension operations should be allowed on
the virtual machine. :code:`<br>`:code:`<br>`This may only be set to False when no extensions
Expand Down Expand Up @@ -5405,7 +5409,11 @@ class VaultCertificate(msrest.serialization.Model):
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
in UTF-8: :code:`<br>`:code:`<br>` {:code:`<br>`
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`}.
"password":":code:`<pfx-file-password>`":code:`<br>`} :code:`<br>` To install certificates on a
virtual machine it is recommended to use the `Azure Key Vault virtual machine extension for
Linux <https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the
`Azure Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type certificate_url: str
:param certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
Expand Down Expand Up @@ -7277,7 +7285,9 @@ class VirtualMachineScaleSet(Resource):
false. However, if singlePlacementGroup is false, it may not be modified to true.
:type single_placement_group: bool
:param zone_balance: Whether to force strictly even Virtual Machine distribution cross x-zones
in case there is zone outage.
in case there is zone outage. zoneBalance property can only be set if the zones property of the
scale set contains more than one zone. If there are no zones or only one zone specified, then
zoneBalance property should not be set.
:type zone_balance: bool
:param platform_fault_domain_count: Fault Domain count for each placement group.
:type platform_fault_domain_count: int
Expand Down Expand Up @@ -8292,7 +8302,11 @@ class VirtualMachineScaleSetOSProfile(msrest.serialization.Model):
<https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros>`_.
:type linux_configuration: ~azure.mgmt.compute.v2021_04_01.models.LinuxConfiguration
:param secrets: Specifies set of certificates that should be installed onto the virtual
machines in the scale set.
machines in the scale set. To install certificates on a virtual machine it is recommended to
use the `Azure Key Vault virtual machine extension for Linux
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the `Azure
Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type secrets: list[~azure.mgmt.compute.v2021_04_01.models.VaultSecretGroup]
"""

Expand Down Expand Up @@ -10168,7 +10182,11 @@ class WinRMListener(msrest.serialization.Model):
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
in UTF-8: :code:`<br>`:code:`<br>` {:code:`<br>`
"data":":code:`<Base64-encoded-certificate>`",:code:`<br>` "dataType":"pfx",:code:`<br>`
"password":":code:`<pfx-file-password>`":code:`<br>`}.
"password":":code:`<pfx-file-password>`":code:`<br>`} :code:`<br>` To install certificates on a
virtual machine it is recommended to use the `Azure Key Vault virtual machine extension for
Linux <https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux>`_ or the
`Azure Key Vault virtual machine extension for Windows
<https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows>`_.
:type certificate_url: str
"""

Expand Down
Loading