diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_compute_management_client.py
index c94784b71eac..a273916fd4e8 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_compute_management_client.py
@@ -74,7 +74,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_metadata.json
index 1df14167dfb6..c5ae18910e14 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/aio/_compute_management_client.py
index e31ce000b06c..f81704a44e6d 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/aio/_compute_management_client.py
@@ -71,7 +71,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_compute_management_client.py
index 8e306e622dbd..7edb8482424a 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_compute_management_client.py
@@ -74,7 +74,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_metadata.json
index 04f09ded3dc8..37f9b3996590 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/aio/_compute_management_client.py
index ad94a530b8f9..46dd3529656f 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/aio/_compute_management_client.py
@@ -71,7 +71,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_compute_management_client.py
index c08c09d03e0b..78e44772189d 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_compute_management_client.py
@@ -83,7 +83,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_metadata.json
index 99ba10ca9bf0..62448e4f1afc 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/aio/_compute_management_client.py
index 5a3172727c21..e09d7b7b333c 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/aio/_compute_management_client.py
@@ -80,7 +80,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_compute_management_client.py
index a3f24ad7ea95..1e1a2c60870a 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_compute_management_client.py
@@ -95,7 +95,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_metadata.json
index 639eadfae933..e85e400e7025 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/aio/_compute_management_client.py
index 133537d9ab00..f429d5f056b8 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/aio/_compute_management_client.py
@@ -92,7 +92,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_compute_management_client.py
index 66122fb73dba..6368f16c96cf 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_compute_management_client.py
@@ -49,7 +49,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_metadata.json
index 6ca366133d9d..467ff43bc4db 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": false,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/aio/_compute_management_client.py
index 9ec019284e19..776d35cc29ff 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01/aio/_compute_management_client.py
@@ -46,7 +46,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_compute_management_client.py
index 7a360591eb8b..9a9611a8c9f6 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_compute_management_client.py
@@ -92,7 +92,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_metadata.json
index 2f8b474eb381..9ab3383f8403 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/aio/_compute_management_client.py
index 0754de1374fe..38a400fc36ad 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/aio/_compute_management_client.py
@@ -89,7 +89,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_compute_management_client.py
index 66b3b35b3cbc..d6901f63cdda 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_compute_management_client.py
@@ -101,7 +101,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_metadata.json
index 6f92f2607fed..1d932f19740d 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/aio/_compute_management_client.py
index 5e5dd5ce489b..5b8f59f9cebb 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/aio/_compute_management_client.py
@@ -98,7 +98,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_compute_management_client.py
index b4d1044819de..c5ea10d2c456 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_compute_management_client.py
@@ -110,7 +110,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_metadata.json
index 13888d348942..87dcb6cf550e 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/aio/_compute_management_client.py
index 030b7ef0107e..db8c7aee77a9 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/aio/_compute_management_client.py
@@ -107,7 +107,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_compute_management_client.py
index d85a35770ba6..0b41e738e9af 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_compute_management_client.py
@@ -53,7 +53,6 @@ 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.disks = DisksOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_metadata.json
index 58f99b6d06c7..8d4e2870a5cd 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/aio/_compute_management_client.py
index 41d9fcafc629..553c60a12702 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30/aio/_compute_management_client.py
@@ -50,7 +50,6 @@ 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.disks = DisksOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_compute_management_client.py
index f205577bc9ed..8891128c9fd0 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_compute_management_client.py
@@ -95,7 +95,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_metadata.json
index f2188a845344..802f47d3e80e 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/aio/_compute_management_client.py
index 4109da03e7d8..54e61613647c 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/aio/_compute_management_client.py
@@ -92,7 +92,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_compute_management_client.py
index 8bedc447edfc..e2953855e407 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_compute_management_client.py
@@ -122,7 +122,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_metadata.json
index 00cd0651a521..d0ba101bd3d3 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/aio/_compute_management_client.py
index f08ee4eeb543..eb0e927e52f0 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/aio/_compute_management_client.py
@@ -119,7 +119,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_compute_management_client_enums.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_compute_management_client_enums.py
index 686b80d8b893..b6a6cd2f8b49 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_compute_management_client_enums.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_compute_management_client_enums.py
@@ -230,9 +230,7 @@ class OperatingSystemStateTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, En
SPECIALIZED = "Specialized" #: Specialized image. Contains already provisioned OS Disk.
class OperatingSystemTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
- """This property allows you to specify the supported type of the OS that application is built for.
- :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` **Windows**
- :code:`
`:code:`
` **Linux**
+ """The operating system of the osDiskImage.
"""
WINDOWS = "Windows"
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_compute_management_client.py
index cbbf6786ef71..176fa891f0b9 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_compute_management_client.py
@@ -49,7 +49,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_metadata.json
index 0db25c4e3362..c904a0aaa56e 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": false,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/aio/_compute_management_client.py
index 8ff46cd8a872..3e04870a583b 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01/aio/_compute_management_client.py
@@ -46,7 +46,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_compute_management_client.py
index 7a3a61413914..6552f8960011 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_compute_management_client.py
@@ -128,7 +128,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_metadata.json
index 708482f34e5a..5c69075854fe 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/_compute_management_client.py
index f161044379f0..74b0eac5cb08 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/_compute_management_client.py
@@ -125,7 +125,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/operations/_virtual_machine_scale_set_vms_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/operations/_virtual_machine_scale_set_vms_operations.py
index bed28963074c..0119e1aa5ac9 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/operations/_virtual_machine_scale_set_vms_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/operations/_virtual_machine_scale_set_vms_operations.py
@@ -1383,8 +1383,7 @@ async def begin_perform_maintenance(
instance_id: str,
**kwargs
) -> AsyncLROPoller[None]:
- """Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers
- it back on during the self-service phase of planned maintenance.
+ """Performs maintenance on a virtual machine in a VM scale set.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/operations/_virtual_machines_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/operations/_virtual_machines_operations.py
index 9a372fbb750f..544cb02f238d 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/operations/_virtual_machines_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/aio/operations/_virtual_machines_operations.py
@@ -773,12 +773,7 @@ async def begin_convert_to_managed_disks(
**kwargs
) -> AsyncLROPoller[None]:
"""Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-
- deallocated before invoking this operation. :code:`
`For Windows, please refer to `Convert a
- virtual machine from unmanaged disks to managed disks. `_.:code:`
`For Linux,
- please refer to `Convert a virtual machine from unmanaged disks to managed disks.
- `_.
+ deallocated before invoking this operation.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
@@ -1929,8 +1924,7 @@ async def begin_perform_maintenance(
vm_name: str,
**kwargs
) -> AsyncLROPoller[None]:
- """Shuts down the virtual machine, moves it to an already updated node, and powers it back on
- during the self-service phase of planned maintenance.
+ """The operation to perform maintenance on a virtual machine.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/models/_compute_management_client_enums.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/models/_compute_management_client_enums.py
index 2c8c68dcba49..db5174b68e4e 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/models/_compute_management_client_enums.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/models/_compute_management_client_enums.py
@@ -243,7 +243,7 @@ class OperatingSystemStateTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, En
SPECIALIZED = "Specialized" #: Specialized image. Contains already provisioned OS Disk.
class OperatingSystemTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
- """The Operating System type.
+ """The operating system of the osDiskImage.
"""
WINDOWS = "Windows"
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machine_scale_set_vms_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machine_scale_set_vms_operations.py
index ee353f4c8e3e..1f64d1d0a3b8 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machine_scale_set_vms_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machine_scale_set_vms_operations.py
@@ -1410,8 +1410,7 @@ def begin_perform_maintenance(
**kwargs # type: Any
):
# type: (...) -> LROPoller[None]
- """Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers
- it back on during the self-service phase of planned maintenance.
+ """Performs maintenance on a virtual machine in a VM scale set.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machines_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machines_operations.py
index 16a0a02d2dbf..69dbdad4cf0a 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machines_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01/operations/_virtual_machines_operations.py
@@ -790,12 +790,7 @@ def begin_convert_to_managed_disks(
):
# type: (...) -> LROPoller[None]
"""Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-
- deallocated before invoking this operation. :code:`
`For Windows, please refer to `Convert a
- virtual machine from unmanaged disks to managed disks. `_.:code:`
`For Linux,
- please refer to `Convert a virtual machine from unmanaged disks to managed disks.
- `_.
+ deallocated before invoking this operation.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
@@ -1966,8 +1961,7 @@ def begin_perform_maintenance(
**kwargs # type: Any
):
# type: (...) -> LROPoller[None]
- """Shuts down the virtual machine, moves it to an already updated node, and powers it back on
- during the self-service phase of planned maintenance.
+ """The operation to perform maintenance on a virtual machine.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_compute_management_client.py
index 637da39beaca..b926870da9fd 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_compute_management_client.py
@@ -56,7 +56,6 @@ 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.disks = DisksOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_metadata.json
index 3740eeead9b0..e5a3c233cbb0 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/aio/_compute_management_client.py
index 896aa8817f96..6538d998cbe6 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/aio/_compute_management_client.py
@@ -53,7 +53,6 @@ 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.disks = DisksOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_compute_management_client.py
index 249869d97f82..0865646e071e 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_compute_management_client.py
@@ -122,7 +122,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_metadata.json
index 8ed7cae0c24c..1b651386cea8 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/_compute_management_client.py
index 8fca3e525bf8..a074d78092a4 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/_compute_management_client.py
@@ -119,7 +119,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/operations/_virtual_machine_scale_set_vms_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/operations/_virtual_machine_scale_set_vms_operations.py
index c0f75c32542f..80aca7d35409 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/operations/_virtual_machine_scale_set_vms_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/operations/_virtual_machine_scale_set_vms_operations.py
@@ -1383,8 +1383,7 @@ async def begin_perform_maintenance(
instance_id: str,
**kwargs
) -> AsyncLROPoller[None]:
- """Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers
- it back on during the self-service phase of planned maintenance.
+ """Performs maintenance on a virtual machine in a VM scale set.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/operations/_virtual_machines_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/operations/_virtual_machines_operations.py
index 6c627e163f95..151548b9df72 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/operations/_virtual_machines_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/aio/operations/_virtual_machines_operations.py
@@ -773,12 +773,7 @@ async def begin_convert_to_managed_disks(
**kwargs
) -> AsyncLROPoller[None]:
"""Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-
- deallocated before invoking this operation. :code:`
`For Windows, please refer to `Convert a
- virtual machine from unmanaged disks to managed disks. `_.:code:`
`For Linux,
- please refer to `Convert a virtual machine from unmanaged disks to managed disks.
- `_.
+ deallocated before invoking this operation.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
@@ -1929,8 +1924,7 @@ async def begin_perform_maintenance(
vm_name: str,
**kwargs
) -> AsyncLROPoller[None]:
- """Shuts down the virtual machine, moves it to an already updated node, and powers it back on
- during the self-service phase of planned maintenance.
+ """The operation to perform maintenance on a virtual machine.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/operations/_virtual_machine_scale_set_vms_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/operations/_virtual_machine_scale_set_vms_operations.py
index 82cc452b21e2..8992147d1a5c 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/operations/_virtual_machine_scale_set_vms_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/operations/_virtual_machine_scale_set_vms_operations.py
@@ -1410,8 +1410,7 @@ def begin_perform_maintenance(
**kwargs # type: Any
):
# type: (...) -> LROPoller[None]
- """Shuts down the virtual machine in a VMScaleSet, moves it to an already updated node, and powers
- it back on during the self-service phase of planned maintenance.
+ """Performs maintenance on a virtual machine in a VM scale set.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/operations/_virtual_machines_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/operations/_virtual_machines_operations.py
index ab3911b9fc47..0b29f41ab8b5 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/operations/_virtual_machines_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01/operations/_virtual_machines_operations.py
@@ -790,12 +790,7 @@ def begin_convert_to_managed_disks(
):
# type: (...) -> LROPoller[None]
"""Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-
- deallocated before invoking this operation. :code:`
`For Windows, please refer to `Convert a
- virtual machine from unmanaged disks to managed disks. `_.:code:`
`For Linux,
- please refer to `Convert a virtual machine from unmanaged disks to managed disks.
- `_.
+ deallocated before invoking this operation.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
@@ -1966,8 +1961,7 @@ def begin_perform_maintenance(
**kwargs # type: Any
):
# type: (...) -> LROPoller[None]
- """Shuts down the virtual machine, moves it to an already updated node, and powers it back on
- during the self-service phase of planned maintenance.
+ """The operation to perform maintenance on a virtual machine.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_compute_management_client.py
index e4349e9e25cc..c77d74efa0e4 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_compute_management_client.py
@@ -59,7 +59,6 @@ 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.disks = DisksOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_metadata.json
index 9901c4b73d0e..baa5352567dc 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/aio/_compute_management_client.py
index d0f08ca2041e..b2fb191fd399 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_05_01/aio/_compute_management_client.py
@@ -56,7 +56,6 @@ 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.disks = DisksOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_compute_management_client.py
index 7bc161f6c288..71348d9ef1c0 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_compute_management_client.py
@@ -110,7 +110,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_metadata.json
index 2345523cc36e..2373304ad82d 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/aio/_compute_management_client.py
index 74fce5582858..07d80653cc48 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/aio/_compute_management_client.py
@@ -107,7 +107,6 @@ 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(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/aio/operations/_virtual_machine_scale_set_vm_extensions_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/aio/operations/_virtual_machine_scale_set_vm_extensions_operations.py
index d2cc6c395a2e..13fe0f17b680 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/aio/operations/_virtual_machine_scale_set_vm_extensions_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/aio/operations/_virtual_machine_scale_set_vm_extensions_operations.py
@@ -48,10 +48,10 @@ async def _create_or_update_initial(
vm_scale_set_name: str,
instance_id: str,
vm_extension_name: str,
- extension_parameters: "_models.VirtualMachineScaleSetVMExtension",
+ extension_parameters: "_models.VirtualMachineExtension",
**kwargs
- ) -> "_models.VirtualMachineScaleSetVMExtension":
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ ) -> "_models.VirtualMachineExtension":
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
@@ -81,7 +81,7 @@ async def _create_or_update_initial(
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(extension_parameters, 'VirtualMachineScaleSetVMExtension')
+ body_content = self._serialize.body(extension_parameters, 'VirtualMachineExtension')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
@@ -92,10 +92,10 @@ async def _create_or_update_initial(
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
if response.status_code == 200:
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if response.status_code == 201:
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -109,9 +109,9 @@ async def begin_create_or_update(
vm_scale_set_name: str,
instance_id: str,
vm_extension_name: str,
- extension_parameters: "_models.VirtualMachineScaleSetVMExtension",
+ extension_parameters: "_models.VirtualMachineExtension",
**kwargs
- ) -> AsyncLROPoller["_models.VirtualMachineScaleSetVMExtension"]:
+ ) -> AsyncLROPoller["_models.VirtualMachineExtension"]:
"""The operation to create or update the VMSS VM extension.
:param resource_group_name: The name of the resource group.
@@ -124,19 +124,19 @@ async def begin_create_or_update(
:type vm_extension_name: str
:param extension_parameters: Parameters supplied to the Create Virtual Machine Extension
operation.
- :type extension_parameters: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension
+ :type extension_parameters: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtension
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
polling object for personal polling strategy
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
- :return: An instance of AsyncLROPoller that returns either VirtualMachineScaleSetVMExtension or the result of cls(response)
- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension]
+ :return: An instance of AsyncLROPoller that returns either VirtualMachineExtension or the result of cls(response)
+ :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtension]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod]
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
lro_delay = kwargs.pop(
'polling_interval',
self._config.polling_interval
@@ -157,7 +157,7 @@ async def begin_create_or_update(
kwargs.pop('content_type', None)
def get_long_running_output(pipeline_response):
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -191,10 +191,10 @@ async def _update_initial(
vm_scale_set_name: str,
instance_id: str,
vm_extension_name: str,
- extension_parameters: "_models.VirtualMachineScaleSetVMExtensionUpdate",
+ extension_parameters: "_models.VirtualMachineExtensionUpdate",
**kwargs
- ) -> "_models.VirtualMachineScaleSetVMExtension":
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ ) -> "_models.VirtualMachineExtension":
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
@@ -224,7 +224,7 @@ async def _update_initial(
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(extension_parameters, 'VirtualMachineScaleSetVMExtensionUpdate')
+ body_content = self._serialize.body(extension_parameters, 'VirtualMachineExtensionUpdate')
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
@@ -234,7 +234,7 @@ async def _update_initial(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -248,9 +248,9 @@ async def begin_update(
vm_scale_set_name: str,
instance_id: str,
vm_extension_name: str,
- extension_parameters: "_models.VirtualMachineScaleSetVMExtensionUpdate",
+ extension_parameters: "_models.VirtualMachineExtensionUpdate",
**kwargs
- ) -> AsyncLROPoller["_models.VirtualMachineScaleSetVMExtension"]:
+ ) -> AsyncLROPoller["_models.VirtualMachineExtension"]:
"""The operation to update the VMSS VM extension.
:param resource_group_name: The name of the resource group.
@@ -263,19 +263,19 @@ async def begin_update(
:type vm_extension_name: str
:param extension_parameters: Parameters supplied to the Update Virtual Machine Extension
operation.
- :type extension_parameters: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtensionUpdate
+ :type extension_parameters: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtensionUpdate
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
polling object for personal polling strategy
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
- :return: An instance of AsyncLROPoller that returns either VirtualMachineScaleSetVMExtension or the result of cls(response)
- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension]
+ :return: An instance of AsyncLROPoller that returns either VirtualMachineExtension or the result of cls(response)
+ :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtension]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod]
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
lro_delay = kwargs.pop(
'polling_interval',
self._config.polling_interval
@@ -296,7 +296,7 @@ async def begin_update(
kwargs.pop('content_type', None)
def get_long_running_output(pipeline_response):
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -454,7 +454,7 @@ async def get(
vm_extension_name: str,
expand: Optional[str] = None,
**kwargs
- ) -> "_models.VirtualMachineScaleSetVMExtension":
+ ) -> "_models.VirtualMachineExtension":
"""The operation to get the VMSS VM extension.
:param resource_group_name: The name of the resource group.
@@ -468,11 +468,11 @@ async def get(
:param expand: The expand expression to apply on the operation.
:type expand: str
:keyword callable cls: A custom type or function that will be passed the direct response
- :return: VirtualMachineScaleSetVMExtension, or the result of cls(response)
- :rtype: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension
+ :return: VirtualMachineExtension, or the result of cls(response)
+ :rtype: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtension
:raises: ~azure.core.exceptions.HttpResponseError
"""
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
@@ -509,7 +509,7 @@ async def get(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -524,7 +524,7 @@ async def list(
instance_id: str,
expand: Optional[str] = None,
**kwargs
- ) -> "_models.VirtualMachineScaleSetVMExtensionsListResult":
+ ) -> "_models.VirtualMachineExtensionsListResult":
"""The operation to get all extensions of an instance in Virtual Machine Scaleset.
:param resource_group_name: The name of the resource group.
@@ -536,11 +536,11 @@ async def list(
:param expand: The expand expression to apply on the operation.
:type expand: str
:keyword callable cls: A custom type or function that will be passed the direct response
- :return: VirtualMachineScaleSetVMExtensionsListResult, or the result of cls(response)
- :rtype: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtensionsListResult
+ :return: VirtualMachineExtensionsListResult, or the result of cls(response)
+ :rtype: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtensionsListResult
:raises: ~azure.core.exceptions.HttpResponseError
"""
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtensionsListResult"]
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtensionsListResult"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
@@ -576,7 +576,7 @@ async def list(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtensionsListResult', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtensionsListResult', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/__init__.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/__init__.py
index d841724b49cd..d92c555aefb1 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/__init__.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/__init__.py
@@ -183,9 +183,6 @@
from ._models_py3 import VirtualMachineScaleSetUpdateStorageProfile
from ._models_py3 import VirtualMachineScaleSetUpdateVMProfile
from ._models_py3 import VirtualMachineScaleSetVM
- from ._models_py3 import VirtualMachineScaleSetVMExtension
- from ._models_py3 import VirtualMachineScaleSetVMExtensionUpdate
- from ._models_py3 import VirtualMachineScaleSetVMExtensionsListResult
from ._models_py3 import VirtualMachineScaleSetVMExtensionsSummary
from ._models_py3 import VirtualMachineScaleSetVMInstanceIDs
from ._models_py3 import VirtualMachineScaleSetVMInstanceRequiredIDs
@@ -380,9 +377,6 @@
from ._models import VirtualMachineScaleSetUpdateStorageProfile # type: ignore
from ._models import VirtualMachineScaleSetUpdateVMProfile # type: ignore
from ._models import VirtualMachineScaleSetVM # type: ignore
- from ._models import VirtualMachineScaleSetVMExtension # type: ignore
- from ._models import VirtualMachineScaleSetVMExtensionUpdate # type: ignore
- from ._models import VirtualMachineScaleSetVMExtensionsListResult # type: ignore
from ._models import VirtualMachineScaleSetVMExtensionsSummary # type: ignore
from ._models import VirtualMachineScaleSetVMInstanceIDs # type: ignore
from ._models import VirtualMachineScaleSetVMInstanceRequiredIDs # type: ignore
@@ -620,9 +614,6 @@
'VirtualMachineScaleSetUpdateStorageProfile',
'VirtualMachineScaleSetUpdateVMProfile',
'VirtualMachineScaleSetVM',
- 'VirtualMachineScaleSetVMExtension',
- 'VirtualMachineScaleSetVMExtensionUpdate',
- 'VirtualMachineScaleSetVMExtensionsListResult',
'VirtualMachineScaleSetVMExtensionsSummary',
'VirtualMachineScaleSetVMInstanceIDs',
'VirtualMachineScaleSetVMInstanceRequiredIDs',
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models.py
index 0d7419064dcb..e3fb427d1791 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models.py
@@ -4374,15 +4374,14 @@ class VirtualMachine(Resource):
:ivar instance_view: The virtual machine instance view.
:vartype instance_view: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineInstanceView
:param license_type: Specifies that the image or disk that is being used was licensed on-
- premises. :code:`
`:code:`
` Possible values for Windows Server operating system are:
- :code:`
`:code:`
` Windows_Client :code:`
`:code:`
` Windows_Server
- :code:`
`:code:`
` Possible values for Linux Server operating system are:
- :code:`
`:code:`
` RHEL_BYOS (for RHEL) :code:`
`:code:`
` SLES_BYOS (for SUSE)
+ premises. This element is only used for images that contain the Windows Server operating
+ system. :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` Windows_Client
+ :code:`
`:code:`
` Windows_Server :code:`
`:code:`
` If this element is included in
+ a request for an update, the value must match the initial value. This value cannot be updated.
:code:`
`:code:`
` For more information, see `Azure Hybrid Use Benefit for Windows Server
- `_
- :code:`
`:code:`
` `Azure Hybrid Use Benefit for Linux Server
- `_
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ `_ :code:`
`:code:`
`
+ Minimum api-version: 2015-06-15.
:type license_type: str
:ivar vm_id: Specifies the VM unique ID which is a 128-bits identifier that is encoded and
stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
@@ -7322,15 +7321,14 @@ class VirtualMachineScaleSetVM(Resource):
:ivar provisioning_state: The provisioning state, which only appears in the response.
:vartype provisioning_state: str
:param license_type: Specifies that the image or disk that is being used was licensed on-
- premises. :code:`
`:code:`
` Possible values for Windows Server operating system are:
- :code:`
`:code:`
` Windows_Client :code:`
`:code:`
` Windows_Server
- :code:`
`:code:`
` Possible values for Linux Server operating system are:
- :code:`
`:code:`
` RHEL_BYOS (for RHEL) :code:`
`:code:`
` SLES_BYOS (for SUSE)
+ premises. This element is only used for images that contain the Windows Server operating
+ system. :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` Windows_Client
+ :code:`
`:code:`
` Windows_Server :code:`
`:code:`
` If this element is included in
+ a request for an update, the value must match the initial value. This value cannot be updated.
:code:`
`:code:`
` For more information, see `Azure Hybrid Use Benefit for Windows Server
- `_
- :code:`
`:code:`
` `Azure Hybrid Use Benefit for Linux Server
- `_
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ `_ :code:`
`:code:`
`
+ Minimum api-version: 2015-06-15.
:type license_type: str
:ivar model_definition_applied: Specifies whether the model applied to the virtual machine is
the model of the virtual machine scale set or the customized model for the virtual machine.
@@ -7413,106 +7411,6 @@ def __init__(
self.protection_policy = kwargs.get('protection_policy', None)
-class VirtualMachineScaleSetVMExtension(SubResourceReadOnly):
- """Describes a VMSS VM Extension.
-
- Variables are only populated by the server, and will be ignored when sending a request.
-
- :ivar id: Resource Id.
- :vartype id: str
- :ivar name: The name of the extension.
- :vartype name: str
- :ivar type: Resource type.
- :vartype type: str
- :param force_update_tag: How the extension handler should be forced to update even if the
- extension configuration has not changed.
- :type force_update_tag: str
- :param publisher: The name of the extension handler publisher.
- :type publisher: str
- :param type_properties_type: Specifies the type of the extension; an example is
- "CustomScriptExtension".
- :type type_properties_type: str
- :param type_handler_version: Specifies the version of the script handler.
- :type type_handler_version: str
- :param auto_upgrade_minor_version: Indicates whether the extension should use a newer minor
- version if one is available at deployment time. Once deployed, however, the extension will not
- upgrade minor versions unless redeployed, even with this property set to true.
- :type auto_upgrade_minor_version: bool
- :param enable_automatic_upgrade: Indicates whether the extension should be automatically
- upgraded by the platform if there is a newer version of the extension available.
- :type enable_automatic_upgrade: bool
- :param settings: Json formatted public settings for the extension.
- :type settings: object
- :param protected_settings: The extension can contain either protectedSettings or
- protectedSettingsFromKeyVault or no protected settings at all.
- :type protected_settings: object
- :ivar provisioning_state: The provisioning state, which only appears in the response.
- :vartype provisioning_state: str
- :param instance_view: The virtual machine extension instance view.
- :type instance_view: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtensionInstanceView
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'name': {'readonly': True},
- 'type': {'readonly': True},
- 'provisioning_state': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'name': {'key': 'name', 'type': 'str'},
- 'type': {'key': 'type', 'type': 'str'},
- 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'},
- 'publisher': {'key': 'properties.publisher', 'type': 'str'},
- 'type_properties_type': {'key': 'properties.type', 'type': 'str'},
- 'type_handler_version': {'key': 'properties.typeHandlerVersion', 'type': 'str'},
- 'auto_upgrade_minor_version': {'key': 'properties.autoUpgradeMinorVersion', 'type': 'bool'},
- 'enable_automatic_upgrade': {'key': 'properties.enableAutomaticUpgrade', 'type': 'bool'},
- 'settings': {'key': 'properties.settings', 'type': 'object'},
- 'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
- 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
- 'instance_view': {'key': 'properties.instanceView', 'type': 'VirtualMachineExtensionInstanceView'},
- }
-
- def __init__(
- self,
- **kwargs
- ):
- super(VirtualMachineScaleSetVMExtension, self).__init__(**kwargs)
- self.name = None
- self.type = None
- self.force_update_tag = kwargs.get('force_update_tag', None)
- self.publisher = kwargs.get('publisher', None)
- self.type_properties_type = kwargs.get('type_properties_type', None)
- self.type_handler_version = kwargs.get('type_handler_version', None)
- self.auto_upgrade_minor_version = kwargs.get('auto_upgrade_minor_version', None)
- self.enable_automatic_upgrade = kwargs.get('enable_automatic_upgrade', None)
- self.settings = kwargs.get('settings', None)
- self.protected_settings = kwargs.get('protected_settings', None)
- self.provisioning_state = None
- self.instance_view = kwargs.get('instance_view', None)
-
-
-class VirtualMachineScaleSetVMExtensionsListResult(msrest.serialization.Model):
- """The List VMSS VM Extension operation response.
-
- :param value: The list of VMSS VM extensions.
- :type value: list[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension]
- """
-
- _attribute_map = {
- 'value': {'key': 'value', 'type': '[VirtualMachineScaleSetVMExtension]'},
- }
-
- def __init__(
- self,
- **kwargs
- ):
- super(VirtualMachineScaleSetVMExtensionsListResult, self).__init__(**kwargs)
- self.value = kwargs.get('value', None)
-
-
class VirtualMachineScaleSetVMExtensionsSummary(msrest.serialization.Model):
"""Extensions summary for virtual machines of a virtual machine scale set.
@@ -7544,78 +7442,6 @@ def __init__(
self.statuses_summary = None
-class VirtualMachineScaleSetVMExtensionUpdate(SubResourceReadOnly):
- """Describes a VMSS VM Extension.
-
- Variables are only populated by the server, and will be ignored when sending a request.
-
- :ivar id: Resource Id.
- :vartype id: str
- :ivar name: The name of the extension.
- :vartype name: str
- :ivar type: Resource type.
- :vartype type: str
- :param force_update_tag: How the extension handler should be forced to update even if the
- extension configuration has not changed.
- :type force_update_tag: str
- :param publisher: The name of the extension handler publisher.
- :type publisher: str
- :param type_properties_type: Specifies the type of the extension; an example is
- "CustomScriptExtension".
- :type type_properties_type: str
- :param type_handler_version: Specifies the version of the script handler.
- :type type_handler_version: str
- :param auto_upgrade_minor_version: Indicates whether the extension should use a newer minor
- version if one is available at deployment time. Once deployed, however, the extension will not
- upgrade minor versions unless redeployed, even with this property set to true.
- :type auto_upgrade_minor_version: bool
- :param enable_automatic_upgrade: Indicates whether the extension should be automatically
- upgraded by the platform if there is a newer version of the extension available.
- :type enable_automatic_upgrade: bool
- :param settings: Json formatted public settings for the extension.
- :type settings: object
- :param protected_settings: The extension can contain either protectedSettings or
- protectedSettingsFromKeyVault or no protected settings at all.
- :type protected_settings: object
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'name': {'readonly': True},
- 'type': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'name': {'key': 'name', 'type': 'str'},
- 'type': {'key': 'type', 'type': 'str'},
- 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'},
- 'publisher': {'key': 'properties.publisher', 'type': 'str'},
- 'type_properties_type': {'key': 'properties.type', 'type': 'str'},
- 'type_handler_version': {'key': 'properties.typeHandlerVersion', 'type': 'str'},
- 'auto_upgrade_minor_version': {'key': 'properties.autoUpgradeMinorVersion', 'type': 'bool'},
- 'enable_automatic_upgrade': {'key': 'properties.enableAutomaticUpgrade', 'type': 'bool'},
- 'settings': {'key': 'properties.settings', 'type': 'object'},
- 'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
- }
-
- def __init__(
- self,
- **kwargs
- ):
- super(VirtualMachineScaleSetVMExtensionUpdate, self).__init__(**kwargs)
- self.name = None
- self.type = None
- self.force_update_tag = kwargs.get('force_update_tag', None)
- self.publisher = kwargs.get('publisher', None)
- self.type_properties_type = kwargs.get('type_properties_type', None)
- self.type_handler_version = kwargs.get('type_handler_version', None)
- self.auto_upgrade_minor_version = kwargs.get('auto_upgrade_minor_version', None)
- self.enable_automatic_upgrade = kwargs.get('enable_automatic_upgrade', None)
- self.settings = kwargs.get('settings', None)
- self.protected_settings = kwargs.get('protected_settings', None)
-
-
class VirtualMachineScaleSetVMInstanceIDs(msrest.serialization.Model):
"""Specifies a list of virtual machine instance IDs from the VM scale set.
@@ -7815,15 +7641,14 @@ class VirtualMachineScaleSetVMProfile(msrest.serialization.Model):
:type extension_profile:
~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetExtensionProfile
:param license_type: Specifies that the image or disk that is being used was licensed on-
- premises. :code:`
`:code:`
` Possible values for Windows Server operating system are:
- :code:`
`:code:`
` Windows_Client :code:`
`:code:`
` Windows_Server
- :code:`
`:code:`
` Possible values for Linux Server operating system are:
- :code:`
`:code:`
` RHEL_BYOS (for RHEL) :code:`
`:code:`
` SLES_BYOS (for SUSE)
+ premises. This element is only used for images that contain the Windows Server operating
+ system. :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` Windows_Client
+ :code:`
`:code:`
` Windows_Server :code:`
`:code:`
` If this element is included in
+ a request for an update, the value must match the initial value. This value cannot be updated.
:code:`
`:code:`
` For more information, see `Azure Hybrid Use Benefit for Windows Server
- `_
- :code:`
`:code:`
` `Azure Hybrid Use Benefit for Linux Server
- `_
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ `_ :code:`
`:code:`
`
+ Minimum api-version: 2015-06-15.
:type license_type: str
:param priority: Specifies the priority for the virtual machines in the scale set.
:code:`
`:code:`
`Minimum api-version: 2017-10-30-preview. Possible values include:
@@ -8175,15 +8000,14 @@ class VirtualMachineUpdate(UpdateResource):
:ivar instance_view: The virtual machine instance view.
:vartype instance_view: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineInstanceView
:param license_type: Specifies that the image or disk that is being used was licensed on-
- premises. :code:`
`:code:`
` Possible values for Windows Server operating system are:
- :code:`
`:code:`
` Windows_Client :code:`
`:code:`
` Windows_Server
- :code:`
`:code:`
` Possible values for Linux Server operating system are:
- :code:`
`:code:`
` RHEL_BYOS (for RHEL) :code:`
`:code:`
` SLES_BYOS (for SUSE)
+ premises. This element is only used for images that contain the Windows Server operating
+ system. :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` Windows_Client
+ :code:`
`:code:`
` Windows_Server :code:`
`:code:`
` If this element is included in
+ a request for an update, the value must match the initial value. This value cannot be updated.
:code:`
`:code:`
` For more information, see `Azure Hybrid Use Benefit for Windows Server
- `_
- :code:`
`:code:`
` `Azure Hybrid Use Benefit for Linux Server
- `_
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ `_ :code:`
`:code:`
`
+ Minimum api-version: 2015-06-15.
:type license_type: str
:ivar vm_id: Specifies the VM unique ID which is a 128-bits identifier that is encoded and
stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py
index 6ebcf3eededd..cd4bb61b5b3d 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py
@@ -4763,15 +4763,14 @@ class VirtualMachine(Resource):
:ivar instance_view: The virtual machine instance view.
:vartype instance_view: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineInstanceView
:param license_type: Specifies that the image or disk that is being used was licensed on-
- premises. :code:`
`:code:`
` Possible values for Windows Server operating system are:
- :code:`
`:code:`
` Windows_Client :code:`
`:code:`
` Windows_Server
- :code:`
`:code:`
` Possible values for Linux Server operating system are:
- :code:`
`:code:`
` RHEL_BYOS (for RHEL) :code:`
`:code:`
` SLES_BYOS (for SUSE)
+ premises. This element is only used for images that contain the Windows Server operating
+ system. :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` Windows_Client
+ :code:`
`:code:`
` Windows_Server :code:`
`:code:`
` If this element is included in
+ a request for an update, the value must match the initial value. This value cannot be updated.
:code:`
`:code:`
` For more information, see `Azure Hybrid Use Benefit for Windows Server
- `_
- :code:`
`:code:`
` `Azure Hybrid Use Benefit for Linux Server
- `_
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ `_ :code:`
`:code:`
`
+ Minimum api-version: 2015-06-15.
:type license_type: str
:ivar vm_id: Specifies the VM unique ID which is a 128-bits identifier that is encoded and
stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
@@ -8073,15 +8072,14 @@ class VirtualMachineScaleSetVM(Resource):
:ivar provisioning_state: The provisioning state, which only appears in the response.
:vartype provisioning_state: str
:param license_type: Specifies that the image or disk that is being used was licensed on-
- premises. :code:`
`:code:`
` Possible values for Windows Server operating system are:
- :code:`
`:code:`
` Windows_Client :code:`
`:code:`
` Windows_Server
- :code:`
`:code:`
` Possible values for Linux Server operating system are:
- :code:`
`:code:`
` RHEL_BYOS (for RHEL) :code:`
`:code:`
` SLES_BYOS (for SUSE)
+ premises. This element is only used for images that contain the Windows Server operating
+ system. :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` Windows_Client
+ :code:`
`:code:`
` Windows_Server :code:`
`:code:`
` If this element is included in
+ a request for an update, the value must match the initial value. This value cannot be updated.
:code:`
`:code:`
` For more information, see `Azure Hybrid Use Benefit for Windows Server
- `_
- :code:`
`:code:`
` `Azure Hybrid Use Benefit for Linux Server
- `_
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ `_ :code:`
`:code:`
`
+ Minimum api-version: 2015-06-15.
:type license_type: str
:ivar model_definition_applied: Specifies whether the model applied to the virtual machine is
the model of the virtual machine scale set or the customized model for the virtual machine.
@@ -8179,118 +8177,6 @@ def __init__(
self.protection_policy = protection_policy
-class VirtualMachineScaleSetVMExtension(SubResourceReadOnly):
- """Describes a VMSS VM Extension.
-
- Variables are only populated by the server, and will be ignored when sending a request.
-
- :ivar id: Resource Id.
- :vartype id: str
- :ivar name: The name of the extension.
- :vartype name: str
- :ivar type: Resource type.
- :vartype type: str
- :param force_update_tag: How the extension handler should be forced to update even if the
- extension configuration has not changed.
- :type force_update_tag: str
- :param publisher: The name of the extension handler publisher.
- :type publisher: str
- :param type_properties_type: Specifies the type of the extension; an example is
- "CustomScriptExtension".
- :type type_properties_type: str
- :param type_handler_version: Specifies the version of the script handler.
- :type type_handler_version: str
- :param auto_upgrade_minor_version: Indicates whether the extension should use a newer minor
- version if one is available at deployment time. Once deployed, however, the extension will not
- upgrade minor versions unless redeployed, even with this property set to true.
- :type auto_upgrade_minor_version: bool
- :param enable_automatic_upgrade: Indicates whether the extension should be automatically
- upgraded by the platform if there is a newer version of the extension available.
- :type enable_automatic_upgrade: bool
- :param settings: Json formatted public settings for the extension.
- :type settings: object
- :param protected_settings: The extension can contain either protectedSettings or
- protectedSettingsFromKeyVault or no protected settings at all.
- :type protected_settings: object
- :ivar provisioning_state: The provisioning state, which only appears in the response.
- :vartype provisioning_state: str
- :param instance_view: The virtual machine extension instance view.
- :type instance_view: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtensionInstanceView
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'name': {'readonly': True},
- 'type': {'readonly': True},
- 'provisioning_state': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'name': {'key': 'name', 'type': 'str'},
- 'type': {'key': 'type', 'type': 'str'},
- 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'},
- 'publisher': {'key': 'properties.publisher', 'type': 'str'},
- 'type_properties_type': {'key': 'properties.type', 'type': 'str'},
- 'type_handler_version': {'key': 'properties.typeHandlerVersion', 'type': 'str'},
- 'auto_upgrade_minor_version': {'key': 'properties.autoUpgradeMinorVersion', 'type': 'bool'},
- 'enable_automatic_upgrade': {'key': 'properties.enableAutomaticUpgrade', 'type': 'bool'},
- 'settings': {'key': 'properties.settings', 'type': 'object'},
- 'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
- 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
- 'instance_view': {'key': 'properties.instanceView', 'type': 'VirtualMachineExtensionInstanceView'},
- }
-
- def __init__(
- self,
- *,
- force_update_tag: Optional[str] = None,
- publisher: Optional[str] = None,
- type_properties_type: Optional[str] = None,
- type_handler_version: Optional[str] = None,
- auto_upgrade_minor_version: Optional[bool] = None,
- enable_automatic_upgrade: Optional[bool] = None,
- settings: Optional[object] = None,
- protected_settings: Optional[object] = None,
- instance_view: Optional["VirtualMachineExtensionInstanceView"] = None,
- **kwargs
- ):
- super(VirtualMachineScaleSetVMExtension, self).__init__(**kwargs)
- self.name = None
- self.type = None
- self.force_update_tag = force_update_tag
- self.publisher = publisher
- self.type_properties_type = type_properties_type
- self.type_handler_version = type_handler_version
- self.auto_upgrade_minor_version = auto_upgrade_minor_version
- self.enable_automatic_upgrade = enable_automatic_upgrade
- self.settings = settings
- self.protected_settings = protected_settings
- self.provisioning_state = None
- self.instance_view = instance_view
-
-
-class VirtualMachineScaleSetVMExtensionsListResult(msrest.serialization.Model):
- """The List VMSS VM Extension operation response.
-
- :param value: The list of VMSS VM extensions.
- :type value: list[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension]
- """
-
- _attribute_map = {
- 'value': {'key': 'value', 'type': '[VirtualMachineScaleSetVMExtension]'},
- }
-
- def __init__(
- self,
- *,
- value: Optional[List["VirtualMachineScaleSetVMExtension"]] = None,
- **kwargs
- ):
- super(VirtualMachineScaleSetVMExtensionsListResult, self).__init__(**kwargs)
- self.value = value
-
-
class VirtualMachineScaleSetVMExtensionsSummary(msrest.serialization.Model):
"""Extensions summary for virtual machines of a virtual machine scale set.
@@ -8322,87 +8208,6 @@ def __init__(
self.statuses_summary = None
-class VirtualMachineScaleSetVMExtensionUpdate(SubResourceReadOnly):
- """Describes a VMSS VM Extension.
-
- Variables are only populated by the server, and will be ignored when sending a request.
-
- :ivar id: Resource Id.
- :vartype id: str
- :ivar name: The name of the extension.
- :vartype name: str
- :ivar type: Resource type.
- :vartype type: str
- :param force_update_tag: How the extension handler should be forced to update even if the
- extension configuration has not changed.
- :type force_update_tag: str
- :param publisher: The name of the extension handler publisher.
- :type publisher: str
- :param type_properties_type: Specifies the type of the extension; an example is
- "CustomScriptExtension".
- :type type_properties_type: str
- :param type_handler_version: Specifies the version of the script handler.
- :type type_handler_version: str
- :param auto_upgrade_minor_version: Indicates whether the extension should use a newer minor
- version if one is available at deployment time. Once deployed, however, the extension will not
- upgrade minor versions unless redeployed, even with this property set to true.
- :type auto_upgrade_minor_version: bool
- :param enable_automatic_upgrade: Indicates whether the extension should be automatically
- upgraded by the platform if there is a newer version of the extension available.
- :type enable_automatic_upgrade: bool
- :param settings: Json formatted public settings for the extension.
- :type settings: object
- :param protected_settings: The extension can contain either protectedSettings or
- protectedSettingsFromKeyVault or no protected settings at all.
- :type protected_settings: object
- """
-
- _validation = {
- 'id': {'readonly': True},
- 'name': {'readonly': True},
- 'type': {'readonly': True},
- }
-
- _attribute_map = {
- 'id': {'key': 'id', 'type': 'str'},
- 'name': {'key': 'name', 'type': 'str'},
- 'type': {'key': 'type', 'type': 'str'},
- 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'},
- 'publisher': {'key': 'properties.publisher', 'type': 'str'},
- 'type_properties_type': {'key': 'properties.type', 'type': 'str'},
- 'type_handler_version': {'key': 'properties.typeHandlerVersion', 'type': 'str'},
- 'auto_upgrade_minor_version': {'key': 'properties.autoUpgradeMinorVersion', 'type': 'bool'},
- 'enable_automatic_upgrade': {'key': 'properties.enableAutomaticUpgrade', 'type': 'bool'},
- 'settings': {'key': 'properties.settings', 'type': 'object'},
- 'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
- }
-
- def __init__(
- self,
- *,
- force_update_tag: Optional[str] = None,
- publisher: Optional[str] = None,
- type_properties_type: Optional[str] = None,
- type_handler_version: Optional[str] = None,
- auto_upgrade_minor_version: Optional[bool] = None,
- enable_automatic_upgrade: Optional[bool] = None,
- settings: Optional[object] = None,
- protected_settings: Optional[object] = None,
- **kwargs
- ):
- super(VirtualMachineScaleSetVMExtensionUpdate, self).__init__(**kwargs)
- self.name = None
- self.type = None
- self.force_update_tag = force_update_tag
- self.publisher = publisher
- self.type_properties_type = type_properties_type
- self.type_handler_version = type_handler_version
- self.auto_upgrade_minor_version = auto_upgrade_minor_version
- self.enable_automatic_upgrade = enable_automatic_upgrade
- self.settings = settings
- self.protected_settings = protected_settings
-
-
class VirtualMachineScaleSetVMInstanceIDs(msrest.serialization.Model):
"""Specifies a list of virtual machine instance IDs from the VM scale set.
@@ -8622,15 +8427,14 @@ class VirtualMachineScaleSetVMProfile(msrest.serialization.Model):
:type extension_profile:
~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetExtensionProfile
:param license_type: Specifies that the image or disk that is being used was licensed on-
- premises. :code:`
`:code:`
` Possible values for Windows Server operating system are:
- :code:`
`:code:`
` Windows_Client :code:`
`:code:`
` Windows_Server
- :code:`
`:code:`
` Possible values for Linux Server operating system are:
- :code:`
`:code:`
` RHEL_BYOS (for RHEL) :code:`
`:code:`
` SLES_BYOS (for SUSE)
+ premises. This element is only used for images that contain the Windows Server operating
+ system. :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` Windows_Client
+ :code:`
`:code:`
` Windows_Server :code:`
`:code:`
` If this element is included in
+ a request for an update, the value must match the initial value. This value cannot be updated.
:code:`
`:code:`
` For more information, see `Azure Hybrid Use Benefit for Windows Server
- `_
- :code:`
`:code:`
` `Azure Hybrid Use Benefit for Linux Server
- `_
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ `_ :code:`
`:code:`
`
+ Minimum api-version: 2015-06-15.
:type license_type: str
:param priority: Specifies the priority for the virtual machines in the scale set.
:code:`
`:code:`
`Minimum api-version: 2017-10-30-preview. Possible values include:
@@ -9008,15 +8812,14 @@ class VirtualMachineUpdate(UpdateResource):
:ivar instance_view: The virtual machine instance view.
:vartype instance_view: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineInstanceView
:param license_type: Specifies that the image or disk that is being used was licensed on-
- premises. :code:`
`:code:`
` Possible values for Windows Server operating system are:
- :code:`
`:code:`
` Windows_Client :code:`
`:code:`
` Windows_Server
- :code:`
`:code:`
` Possible values for Linux Server operating system are:
- :code:`
`:code:`
` RHEL_BYOS (for RHEL) :code:`
`:code:`
` SLES_BYOS (for SUSE)
+ premises. This element is only used for images that contain the Windows Server operating
+ system. :code:`
`:code:`
` Possible values are: :code:`
`:code:`
` Windows_Client
+ :code:`
`:code:`
` Windows_Server :code:`
`:code:`
` If this element is included in
+ a request for an update, the value must match the initial value. This value cannot be updated.
:code:`
`:code:`
` For more information, see `Azure Hybrid Use Benefit for Windows Server
- `_
- :code:`
`:code:`
` `Azure Hybrid Use Benefit for Linux Server
- `_
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ `_ :code:`
`:code:`
`
+ Minimum api-version: 2015-06-15.
:type license_type: str
:ivar vm_id: Specifies the VM unique ID which is a 128-bits identifier that is encoded and
stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/operations/_virtual_machine_scale_set_vm_extensions_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/operations/_virtual_machine_scale_set_vm_extensions_operations.py
index f9c70fc7c75c..caf97ca51a33 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/operations/_virtual_machine_scale_set_vm_extensions_operations.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/operations/_virtual_machine_scale_set_vm_extensions_operations.py
@@ -52,11 +52,11 @@ def _create_or_update_initial(
vm_scale_set_name, # type: str
instance_id, # type: str
vm_extension_name, # type: str
- extension_parameters, # type: "_models.VirtualMachineScaleSetVMExtension"
+ extension_parameters, # type: "_models.VirtualMachineExtension"
**kwargs # type: Any
):
- # type: (...) -> "_models.VirtualMachineScaleSetVMExtension"
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ # type: (...) -> "_models.VirtualMachineExtension"
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
@@ -86,7 +86,7 @@ def _create_or_update_initial(
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(extension_parameters, 'VirtualMachineScaleSetVMExtension')
+ body_content = self._serialize.body(extension_parameters, 'VirtualMachineExtension')
body_content_kwargs['content'] = body_content
request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
@@ -97,10 +97,10 @@ def _create_or_update_initial(
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
if response.status_code == 200:
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if response.status_code == 201:
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -114,10 +114,10 @@ def begin_create_or_update(
vm_scale_set_name, # type: str
instance_id, # type: str
vm_extension_name, # type: str
- extension_parameters, # type: "_models.VirtualMachineScaleSetVMExtension"
+ extension_parameters, # type: "_models.VirtualMachineExtension"
**kwargs # type: Any
):
- # type: (...) -> LROPoller["_models.VirtualMachineScaleSetVMExtension"]
+ # type: (...) -> LROPoller["_models.VirtualMachineExtension"]
"""The operation to create or update the VMSS VM extension.
:param resource_group_name: The name of the resource group.
@@ -130,19 +130,19 @@ def begin_create_or_update(
:type vm_extension_name: str
:param extension_parameters: Parameters supplied to the Create Virtual Machine Extension
operation.
- :type extension_parameters: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension
+ :type extension_parameters: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtension
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
polling object for personal polling strategy
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
- :return: An instance of LROPoller that returns either VirtualMachineScaleSetVMExtension or the result of cls(response)
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension]
+ :return: An instance of LROPoller that returns either VirtualMachineExtension or the result of cls(response)
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtension]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod]
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
lro_delay = kwargs.pop(
'polling_interval',
self._config.polling_interval
@@ -163,7 +163,7 @@ def begin_create_or_update(
kwargs.pop('content_type', None)
def get_long_running_output(pipeline_response):
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -197,11 +197,11 @@ def _update_initial(
vm_scale_set_name, # type: str
instance_id, # type: str
vm_extension_name, # type: str
- extension_parameters, # type: "_models.VirtualMachineScaleSetVMExtensionUpdate"
+ extension_parameters, # type: "_models.VirtualMachineExtensionUpdate"
**kwargs # type: Any
):
- # type: (...) -> "_models.VirtualMachineScaleSetVMExtension"
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ # type: (...) -> "_models.VirtualMachineExtension"
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
@@ -231,7 +231,7 @@ def _update_initial(
header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
body_content_kwargs = {} # type: Dict[str, Any]
- body_content = self._serialize.body(extension_parameters, 'VirtualMachineScaleSetVMExtensionUpdate')
+ body_content = self._serialize.body(extension_parameters, 'VirtualMachineExtensionUpdate')
body_content_kwargs['content'] = body_content
request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs)
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
@@ -241,7 +241,7 @@ def _update_initial(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -255,10 +255,10 @@ def begin_update(
vm_scale_set_name, # type: str
instance_id, # type: str
vm_extension_name, # type: str
- extension_parameters, # type: "_models.VirtualMachineScaleSetVMExtensionUpdate"
+ extension_parameters, # type: "_models.VirtualMachineExtensionUpdate"
**kwargs # type: Any
):
- # type: (...) -> LROPoller["_models.VirtualMachineScaleSetVMExtension"]
+ # type: (...) -> LROPoller["_models.VirtualMachineExtension"]
"""The operation to update the VMSS VM extension.
:param resource_group_name: The name of the resource group.
@@ -271,19 +271,19 @@ def begin_update(
:type vm_extension_name: str
:param extension_parameters: Parameters supplied to the Update Virtual Machine Extension
operation.
- :type extension_parameters: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtensionUpdate
+ :type extension_parameters: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtensionUpdate
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
polling object for personal polling strategy
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
- :return: An instance of LROPoller that returns either VirtualMachineScaleSetVMExtension or the result of cls(response)
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension]
+ :return: An instance of LROPoller that returns either VirtualMachineExtension or the result of cls(response)
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtension]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod]
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
lro_delay = kwargs.pop(
'polling_interval',
self._config.polling_interval
@@ -304,7 +304,7 @@ def begin_update(
kwargs.pop('content_type', None)
def get_long_running_output(pipeline_response):
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -465,7 +465,7 @@ def get(
expand=None, # type: Optional[str]
**kwargs # type: Any
):
- # type: (...) -> "_models.VirtualMachineScaleSetVMExtension"
+ # type: (...) -> "_models.VirtualMachineExtension"
"""The operation to get the VMSS VM extension.
:param resource_group_name: The name of the resource group.
@@ -479,11 +479,11 @@ def get(
:param expand: The expand expression to apply on the operation.
:type expand: str
:keyword callable cls: A custom type or function that will be passed the direct response
- :return: VirtualMachineScaleSetVMExtension, or the result of cls(response)
- :rtype: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtension
+ :return: VirtualMachineExtension, or the result of cls(response)
+ :rtype: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtension
:raises: ~azure.core.exceptions.HttpResponseError
"""
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtension"]
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtension"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
@@ -520,7 +520,7 @@ def get(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtension', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtension', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
@@ -536,7 +536,7 @@ def list(
expand=None, # type: Optional[str]
**kwargs # type: Any
):
- # type: (...) -> "_models.VirtualMachineScaleSetVMExtensionsListResult"
+ # type: (...) -> "_models.VirtualMachineExtensionsListResult"
"""The operation to get all extensions of an instance in Virtual Machine Scaleset.
:param resource_group_name: The name of the resource group.
@@ -548,11 +548,11 @@ def list(
:param expand: The expand expression to apply on the operation.
:type expand: str
:keyword callable cls: A custom type or function that will be passed the direct response
- :return: VirtualMachineScaleSetVMExtensionsListResult, or the result of cls(response)
- :rtype: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineScaleSetVMExtensionsListResult
+ :return: VirtualMachineExtensionsListResult, or the result of cls(response)
+ :rtype: ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtensionsListResult
:raises: ~azure.core.exceptions.HttpResponseError
"""
- cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineScaleSetVMExtensionsListResult"]
+ cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualMachineExtensionsListResult"]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
@@ -588,7 +588,7 @@ def list(
map_error(status_code=response.status_code, response=response, error_map=error_map)
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
- deserialized = self._deserialize('VirtualMachineScaleSetVMExtensionsListResult', pipeline_response)
+ deserialized = self._deserialize('VirtualMachineExtensionsListResult', pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_compute_management_client.py
index 4fd16125d667..bba4e5b777ed 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_compute_management_client.py
@@ -59,7 +59,6 @@ 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.disks = DisksOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_metadata.json
index be6798853d05..5a3d45cb2324 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/aio/_compute_management_client.py
index 06ad146f3eb1..2223a7099bf8 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_30/aio/_compute_management_client.py
@@ -56,7 +56,6 @@ 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.disks = DisksOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_compute_management_client.py
index b11030f38cd5..0af3a3432463 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_compute_management_client.py
@@ -74,7 +74,6 @@ 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.galleries = GalleriesOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_metadata.json b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_metadata.json
index d8f99bc1e13a..14e5d07746c0 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_metadata.json
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/_metadata.json
@@ -9,7 +9,7 @@
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
- "client_side_validation": false
+ "client_side_validation": true
},
"global_parameters": {
"sync": {
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/aio/_compute_management_client.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/aio/_compute_management_client.py
index a1a696a8e55c..3c930176bb4e 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/aio/_compute_management_client.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/aio/_compute_management_client.py
@@ -71,7 +71,6 @@ 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.galleries = GalleriesOperations(
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/__init__.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/__init__.py
index a4ea97750b5b..352541112912 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/__init__.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/__init__.py
@@ -62,7 +62,6 @@
from ._models_py3 import SharingUpdate
from ._models_py3 import TargetRegion
from ._models_py3 import UpdateResourceDefinition
- from ._models_py3 import UserArtifactManage
from ._models_py3 import UserArtifactSource
except (SyntaxError, ImportError):
from ._models import ApiError # type: ignore
@@ -120,7 +119,6 @@
from ._models import SharingUpdate # type: ignore
from ._models import TargetRegion # type: ignore
from ._models import UpdateResourceDefinition # type: ignore
- from ._models import UserArtifactManage # type: ignore
from ._models import UserArtifactSource # type: ignore
from ._compute_management_client_enums import (
@@ -199,7 +197,6 @@
'SharingUpdate',
'TargetRegion',
'UpdateResourceDefinition',
- 'UserArtifactManage',
'UserArtifactSource',
'AggregatedReplicationState',
'GalleryApplicationVersionPropertiesProvisioningState',
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/_models.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/_models.py
index b54f40aa446b..3d87bbf47742 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/_models.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/_models.py
@@ -642,8 +642,9 @@ class GalleryApplicationVersionPublishingProfile(GalleryArtifactPublishingProfil
:type storage_account_type: str or ~azure.mgmt.compute.v2020_09_30.models.StorageAccountType
:param source: Required. The source image from which the Image Version is going to be created.
:type source: ~azure.mgmt.compute.v2020_09_30.models.UserArtifactSource
- :param manage_actions:
- :type manage_actions: ~azure.mgmt.compute.v2020_09_30.models.UserArtifactManage
+ :param content_type: Optional. May be used to help process this file. The type of file
+ contained in the source, e.g. zip, json, etc.
+ :type content_type: str
:param enable_health_check: Optional. Whether or not this application reports health.
:type enable_health_check: bool
"""
@@ -661,7 +662,7 @@ class GalleryApplicationVersionPublishingProfile(GalleryArtifactPublishingProfil
'end_of_life_date': {'key': 'endOfLifeDate', 'type': 'iso-8601'},
'storage_account_type': {'key': 'storageAccountType', 'type': 'str'},
'source': {'key': 'source', 'type': 'UserArtifactSource'},
- 'manage_actions': {'key': 'manageActions', 'type': 'UserArtifactManage'},
+ 'content_type': {'key': 'contentType', 'type': 'str'},
'enable_health_check': {'key': 'enableHealthCheck', 'type': 'bool'},
}
@@ -671,7 +672,7 @@ def __init__(
):
super(GalleryApplicationVersionPublishingProfile, self).__init__(**kwargs)
self.source = kwargs['source']
- self.manage_actions = kwargs.get('manage_actions', None)
+ self.content_type = kwargs.get('content_type', None)
self.enable_health_check = kwargs.get('enable_health_check', None)
@@ -2160,64 +2161,26 @@ def __init__(
self.encryption = kwargs.get('encryption', None)
-class UserArtifactManage(msrest.serialization.Model):
- """UserArtifactManage.
-
- All required parameters must be populated in order to send to Azure.
-
- :param install: Required. Required. The path and arguments to install the gallery application.
- This is limited to 4096 characters.
- :type install: str
- :param remove: Required. Required. The path and arguments to remove the gallery application.
- This is limited to 4096 characters.
- :type remove: str
- :param update: Optional. The path and arguments to update the gallery application. If not
- present, then update operation will invoke remove command on the previous version and install
- command on the current version of the gallery application. This is limited to 4096 characters.
- :type update: str
- """
-
- _validation = {
- 'install': {'required': True},
- 'remove': {'required': True},
- }
-
- _attribute_map = {
- 'install': {'key': 'install', 'type': 'str'},
- 'remove': {'key': 'remove', 'type': 'str'},
- 'update': {'key': 'update', 'type': 'str'},
- }
-
- def __init__(
- self,
- **kwargs
- ):
- super(UserArtifactManage, self).__init__(**kwargs)
- self.install = kwargs['install']
- self.remove = kwargs['remove']
- self.update = kwargs.get('update', None)
-
-
class UserArtifactSource(msrest.serialization.Model):
"""The source image from which the Image Version is going to be created.
All required parameters must be populated in order to send to Azure.
+ :param file_name: Required. Required. The fileName of the artifact.
+ :type file_name: str
:param media_link: Required. Required. The mediaLink of the artifact, must be a readable
- storage page blob.
+ storage blob.
:type media_link: str
- :param default_configuration_link: Optional. The defaultConfigurationLink of the artifact, must
- be a readable storage page blob.
- :type default_configuration_link: str
"""
_validation = {
+ 'file_name': {'required': True},
'media_link': {'required': True},
}
_attribute_map = {
+ 'file_name': {'key': 'fileName', 'type': 'str'},
'media_link': {'key': 'mediaLink', 'type': 'str'},
- 'default_configuration_link': {'key': 'defaultConfigurationLink', 'type': 'str'},
}
def __init__(
@@ -2225,5 +2188,5 @@ def __init__(
**kwargs
):
super(UserArtifactSource, self).__init__(**kwargs)
+ self.file_name = kwargs['file_name']
self.media_link = kwargs['media_link']
- self.default_configuration_link = kwargs.get('default_configuration_link', None)
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/_models_py3.py
index b07b455530c1..56f45c77c596 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/_models_py3.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_09_30/models/_models_py3.py
@@ -711,8 +711,9 @@ class GalleryApplicationVersionPublishingProfile(GalleryArtifactPublishingProfil
:type storage_account_type: str or ~azure.mgmt.compute.v2020_09_30.models.StorageAccountType
:param source: Required. The source image from which the Image Version is going to be created.
:type source: ~azure.mgmt.compute.v2020_09_30.models.UserArtifactSource
- :param manage_actions:
- :type manage_actions: ~azure.mgmt.compute.v2020_09_30.models.UserArtifactManage
+ :param content_type: Optional. May be used to help process this file. The type of file
+ contained in the source, e.g. zip, json, etc.
+ :type content_type: str
:param enable_health_check: Optional. Whether or not this application reports health.
:type enable_health_check: bool
"""
@@ -730,7 +731,7 @@ class GalleryApplicationVersionPublishingProfile(GalleryArtifactPublishingProfil
'end_of_life_date': {'key': 'endOfLifeDate', 'type': 'iso-8601'},
'storage_account_type': {'key': 'storageAccountType', 'type': 'str'},
'source': {'key': 'source', 'type': 'UserArtifactSource'},
- 'manage_actions': {'key': 'manageActions', 'type': 'UserArtifactManage'},
+ 'content_type': {'key': 'contentType', 'type': 'str'},
'enable_health_check': {'key': 'enableHealthCheck', 'type': 'bool'},
}
@@ -743,13 +744,13 @@ def __init__(
exclude_from_latest: Optional[bool] = None,
end_of_life_date: Optional[datetime.datetime] = None,
storage_account_type: Optional[Union[str, "StorageAccountType"]] = None,
- manage_actions: Optional["UserArtifactManage"] = None,
+ content_type: Optional[str] = None,
enable_health_check: Optional[bool] = None,
**kwargs
):
super(GalleryApplicationVersionPublishingProfile, self).__init__(target_regions=target_regions, replica_count=replica_count, exclude_from_latest=exclude_from_latest, end_of_life_date=end_of_life_date, storage_account_type=storage_account_type, **kwargs)
self.source = source
- self.manage_actions = manage_actions
+ self.content_type = content_type
self.enable_health_check = enable_health_check
@@ -2385,77 +2386,35 @@ def __init__(
self.encryption = encryption
-class UserArtifactManage(msrest.serialization.Model):
- """UserArtifactManage.
-
- All required parameters must be populated in order to send to Azure.
-
- :param install: Required. Required. The path and arguments to install the gallery application.
- This is limited to 4096 characters.
- :type install: str
- :param remove: Required. Required. The path and arguments to remove the gallery application.
- This is limited to 4096 characters.
- :type remove: str
- :param update: Optional. The path and arguments to update the gallery application. If not
- present, then update operation will invoke remove command on the previous version and install
- command on the current version of the gallery application. This is limited to 4096 characters.
- :type update: str
- """
-
- _validation = {
- 'install': {'required': True},
- 'remove': {'required': True},
- }
-
- _attribute_map = {
- 'install': {'key': 'install', 'type': 'str'},
- 'remove': {'key': 'remove', 'type': 'str'},
- 'update': {'key': 'update', 'type': 'str'},
- }
-
- def __init__(
- self,
- *,
- install: str,
- remove: str,
- update: Optional[str] = None,
- **kwargs
- ):
- super(UserArtifactManage, self).__init__(**kwargs)
- self.install = install
- self.remove = remove
- self.update = update
-
-
class UserArtifactSource(msrest.serialization.Model):
"""The source image from which the Image Version is going to be created.
All required parameters must be populated in order to send to Azure.
+ :param file_name: Required. Required. The fileName of the artifact.
+ :type file_name: str
:param media_link: Required. Required. The mediaLink of the artifact, must be a readable
- storage page blob.
+ storage blob.
:type media_link: str
- :param default_configuration_link: Optional. The defaultConfigurationLink of the artifact, must
- be a readable storage page blob.
- :type default_configuration_link: str
"""
_validation = {
+ 'file_name': {'required': True},
'media_link': {'required': True},
}
_attribute_map = {
+ 'file_name': {'key': 'fileName', 'type': 'str'},
'media_link': {'key': 'mediaLink', 'type': 'str'},
- 'default_configuration_link': {'key': 'defaultConfigurationLink', 'type': 'str'},
}
def __init__(
self,
*,
+ file_name: str,
media_link: str,
- default_configuration_link: Optional[str] = None,
**kwargs
):
super(UserArtifactSource, self).__init__(**kwargs)
+ self.file_name = file_name
self.media_link = media_link
- self.default_configuration_link = default_configuration_link