Skip to content

Commit

Permalink
[AutoRelease] t2-compute-2021-03-26-71715(Do not merge) (#17587)
Browse files Browse the repository at this point in the history
* CodeGen from PR 13620 in Azure/azure-rest-api-specs
add go sdk config (#13620)

* version,CHANGELOG

* test

* fix tests

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: 00Kai0 <sunkaihuisos@gmail.com>
  • Loading branch information
3 people committed Apr 1, 2021
1 parent 279e2a3 commit 1bf8589
Show file tree
Hide file tree
Showing 220 changed files with 104,038 additions and 16,841 deletions.
35 changes: 35 additions & 0 deletions sdk/compute/azure-mgmt-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Release History

## 20.0.0 (2021-03-26)

**Features**

- Model DiskRestorePoint has a new parameter supports_hibernation
- Model LoadBalancerConfiguration has a new parameter id
- Model Disk has a new parameter supports_hibernation
- Model Disk has a new parameter security_profile
- Model Disk has a new parameter property_updates_in_progress
- Model CloudServiceInstanceView has a new parameter private_ids
- Model DiskEncryptionSetUpdate has a new parameter identity
- Model DiskEncryptionSetUpdate has a new parameter rotation_to_latest_key_version_enabled
- Model DiskUpdate has a new parameter supports_hibernation
- Model DiskUpdate has a new parameter property_updates_in_progress
- Model DiskEncryptionSet has a new parameter last_key_rotation_timestamp
- Model DiskEncryptionSet has a new parameter rotation_to_latest_key_version_enabled
- Model Snapshot has a new parameter supports_hibernation
- Model CloudServiceProperties has a new parameter allow_model_override
- Model SnapshotUpdate has a new parameter supports_hibernation
- Added operation group CloudServiceOperatingSystemsOperations

**Breaking changes**

- Parameter name of model LoadBalancerConfiguration is now required
- Parameter properties of model LoadBalancerConfiguration is now required
- Parameter name of model LoadBalancerFrontendIPConfiguration is now required
- Parameter properties of model LoadBalancerFrontendIPConfiguration is now required
- Parameter frontend_ip_configurations of model LoadBalancerConfigurationProperties is now required
- Operation GalleriesOperations.get has a new signature
- Model Gallery no longer has parameter sharing_profile
- Model GalleryImageUpdate no longer has parameter features
- Model GalleryUpdate no longer has parameter sharing_profile
- Model GalleryImage no longer has parameter features
- Model GalleryArtifactVersionSource no longer has parameter uri

## 19.0.0 (2021-02-20)

**Features**
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 = "19.0.0"
VERSION = "20.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,7 +4,5 @@
# 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_10_01_preview.models import *
from .v2020_12_01.models import *
from .v2021_03_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.availability_sets = AvailabilitySetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.availability_sets = AvailabilitySetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.availability_sets = AvailabilitySetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.availability_sets = AvailabilitySetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.availability_sets = AvailabilitySetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.availability_sets = AvailabilitySetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.availability_sets = AvailabilitySetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.availability_sets = AvailabilitySetsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or
Premium_LRS. NOTE: Managed OS disk storage account type can only be set when you create the
scale set.
Premium_LRS.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4361,9 +4361,9 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the managed disk. Possible
values are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS",
"Premium_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS", "Premium_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2017_03_30.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4805,9 +4805,9 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the managed disk. Possible
values are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS",
"Premium_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS", "Premium_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2017_03_30.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.resource_skus = ResourceSkusOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": false,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.resource_skus = ResourceSkusOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.operations = Operations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.operations = Operations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or
Premium_LRS. NOTE: Managed OS disk storage account type can only be set when you create the
scale set.
Premium_LRS.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4185,9 +4185,9 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the managed disk. Possible
values are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS",
"Premium_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS", "Premium_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2017_12_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4615,9 +4615,9 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the managed disk. Possible
values are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS",
"Premium_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS or Premium_LRS. Possible values include: "Standard_LRS", "Premium_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2017_12_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.operations = Operations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.operations = Operations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Possible values are: Standard_LRS,
Premium_LRS, and StandardSSD_LRS. NOTE: Managed OS disk storage account type can only be set
when you create the scale set.
Premium_LRS, and StandardSSD_LRS.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4865,9 +4865,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the managed disk. Possible
values are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
"Standard_LRS", "Premium_LRS", "StandardSSD_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: "Standard_LRS",
"Premium_LRS", "StandardSSD_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2018_04_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5371,9 +5371,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the managed disk. Possible
values are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include:
"Standard_LRS", "Premium_LRS", "StandardSSD_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. Possible values
are: Standard_LRS, Premium_LRS, and StandardSSD_LRS. Possible values include: "Standard_LRS",
"Premium_LRS", "StandardSSD_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2018_04_01.models.StorageAccountTypes
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.operations = Operations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
"client_side_validation": false
},
"global_parameters": {
"sync": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.operations = Operations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,8 @@ class StatusLevelTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
ERROR = "Error"

class StorageAccountTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies the storage account type for the managed disk. Managed OS disk storage account type
can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data
disks, it cannot be used with OS Disk.
"""Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used
with data disks, it cannot be used with OS Disk.
"""

STANDARD_LRS = "Standard_LRS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5880,9 +5880,10 @@ def __init__(
class VirtualMachineScaleSetManagedDiskParameters(msrest.serialization.Model):
"""Describes the parameters of a ScaleSet managed disk.
:param storage_account_type: Specifies the storage account type for the managed disk. NOTE:
UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values
include: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS".
:param storage_account_type: Specifies the storage account type for the managed disk. Managed
OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS
can only be used with data disks, it cannot be used with OS Disk. Possible values include:
"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS".
:type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes
"""

Expand Down

0 comments on commit 1bf8589

Please sign in to comment.