Skip to content

Commit

Permalink
[AutoRelease] t2-compute-2021-09-02-34739 (#20515)
Browse files Browse the repository at this point in the history
* CodeGen from PR 15837 in Azure/azure-rest-api-specs
Add swagger for Compute Diagnostic Resource Provider (#15837)

* version,CHANGELOG

* test

* Update test_mgmt_compute_vmss.py

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 2, 2021
1 parent 15cd636 commit 4649baf
Show file tree
Hide file tree
Showing 135 changed files with 74,615 additions and 2,348 deletions.
30 changes: 30 additions & 0 deletions sdk/compute/azure-mgmt-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Release History

## 23.0.0 (2021-09-02)

**Features**

- Model HardwareProfile has a new parameter vm_size_properties
- Model VirtualMachineScaleSetVMProfile has a new parameter application_profile
- Model AdditionalCapabilities has a new parameter hibernation_enabled
- Model VirtualMachine has a new parameter application_profile
- Model VirtualMachineScaleSetVMExtensionUpdate has a new parameter suppress_failures
- Model Gallery has a new parameter soft_delete_policy
- Model ScaleInPolicy has a new parameter force_deletion
- Model VirtualMachineScaleSetExtensionUpdate has a new parameter suppress_failures
- Model GalleryArtifactPublishingProfileBase has a new parameter replication_mode
- Model GalleryImageVersionPublishingProfile has a new parameter replication_mode
- Model GalleryApplicationVersionPublishingProfile has a new parameter replication_mode
- Model ImageReference has a new parameter shared_gallery_image_id
- Model VirtualMachineUpdate has a new parameter application_profile
- Model VirtualMachineScaleSetVMExtension has a new parameter suppress_failures
- Model ResourceSkuLocationInfo has a new parameter type
- Model ResourceSkuLocationInfo has a new parameter extended_locations
- Model VirtualMachineScaleSetExtension has a new parameter suppress_failures
- Model VirtualMachineExtension has a new parameter suppress_failures
- Model VirtualMachineExtensionUpdate has a new parameter suppress_failures
- Model GalleryUpdate has a new parameter soft_delete_policy

**Breaking changes**

- Operation ResourceSkusOperations.list has a new signature
- Operation VirtualMachinesOperations.begin_deallocate has a new signature

## 22.1.0 (2021-07-22)

**Features**
Expand Down
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": "d5ad9431bbc19c34090d97209eb497167db32879",
"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.

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "22.1.0"
VERSION = "23.0.0"

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 = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.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 = "22.1.0"
VERSION = "23.0.0"
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 = "23.0.0"
Loading

0 comments on commit 4649baf

Please sign in to comment.