diff --git a/sdk/compute/azure-mgmt-compute/_meta.json b/sdk/compute/azure-mgmt-compute/_meta.json
index 461696a4ddad..ea0ff82817fc 100644
--- a/sdk/compute/azure-mgmt-compute/_meta.json
+++ b/sdk/compute/azure-mgmt-compute/_meta.json
@@ -1,12 +1,12 @@
{
- "commit": "6282f2be60dca94b71b1e32cfe6efa9f965b6d1d",
+ "commit": "416353cabfea1fc7a1c7c46ba3340408a2618de1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
- "@autorest/python@6.26.4",
+ "@autorest/python@6.27.2",
"@autorest/modelerfour@4.27.0"
],
- "autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.26.4 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
+ "autorest_command": "autorest specification/compute/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.27.2 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/compute/resource-manager/readme.md",
"package-2024-03-02-only": "2024-07-16 12:23:13 -0400 602fb5144a226577186e35845422c11db9067cf8 Microsoft.Compute/DiskRP/stable/2024-03-02/snapshot.json",
"package-2024-03-01-only": "2024-06-05 15:03:47 -0700 491e00d17f24909ecf5e1030b3833bed51224e92 Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json",
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/_serialization.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/_serialization.py
index dc8692e6ec0f..a94487cbf17a 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/_serialization.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/_serialization.py
@@ -309,7 +309,7 @@ def _create_xml_node(tag, prefix=None, ns=None):
return ET.Element(tag)
-class Model(object):
+class Model:
"""Mixin for all client request body/response body models to support
serialization and deserialization.
"""
@@ -562,7 +562,7 @@ def _decode_attribute_map_key(key):
return key.replace("\\.", ".")
-class Serializer(object): # pylint: disable=too-many-public-methods
+class Serializer: # pylint: disable=too-many-public-methods
"""Request object model serializer."""
basic_types = {str: "str", int: "int", bool: "bool", float: "float"}
@@ -1440,7 +1440,7 @@ def xml_key_extractor(attr, attr_desc, data): # pylint: disable=unused-argument
return children[0]
-class Deserializer(object):
+class Deserializer:
"""Response object model deserializer.
:param dict classes: Class type dictionary for deserializing complex types.
@@ -1682,17 +1682,21 @@ def _instantiate_model(self, response, attrs, additional_properties=None):
subtype = getattr(response, "_subtype_map", {})
try:
readonly = [
- k for k, v in response._validation.items() if v.get("readonly") # pylint: disable=protected-access
+ k
+ for k, v in response._validation.items() # pylint: disable=protected-access # type: ignore
+ if v.get("readonly")
]
const = [
- k for k, v in response._validation.items() if v.get("constant") # pylint: disable=protected-access
+ k
+ for k, v in response._validation.items() # pylint: disable=protected-access # type: ignore
+ if v.get("constant")
]
kwargs = {k: v for k, v in attrs.items() if k not in subtype and k not in readonly + const}
response_obj = response(**kwargs)
for attr in readonly:
setattr(response_obj, attr, attrs.get(attr))
if additional_properties:
- response_obj.additional_properties = additional_properties
+ response_obj.additional_properties = additional_properties # type: ignore
return response_obj
except TypeError as err:
msg = "Unable to deserialize {} into model {}. ".format(kwargs, response) # type: ignore
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/_compute_management_client_enums.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/_compute_management_client_enums.py
index ce49e3dc92a3..074cbe12f2a6 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/_compute_management_client_enums.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/_compute_management_client_enums.py
@@ -11,10 +11,10 @@
class CachingTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the caching requirements. :code:`
`:code:`
` Possible values are:
- :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**.
+ """Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values are:
+ :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly** :code:`
`\\
+ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for Standard storage.
+ ReadOnly for Premium storage**.
"""
NONE = "None"
@@ -23,12 +23,13 @@ class CachingTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class DiskCreateOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies how the virtual machine should be created.:code:`
`:code:`
` Possible values
- are::code:`
`:code:`
` **Attach** \\u2013 This value is used when you are using a
- specialized disk to create the virtual machine.:code:`
`:code:`
` **FromImage** \\u2013
- This value is used when you are using an image to create the virtual machine. If you are using
- a platform image, you also use the imageReference element described above. If you are using a
- marketplace image, you also use the plan element previously described.
+ """Specifies how the virtual machine should be created.\\ :code:`
`\\ :code:`
` Possible
+ values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value is used when you are
+ using a specialized disk to create the virtual machine.\\ :code:`
`\\ :code:`
`
+ **FromImage** \\u2013 This value is used when you are using an image to create the virtual
+ machine. If you are using a platform image, you also use the imageReference element described
+ above. If you are using a marketplace image, you also use the plan element previously
+ described.
"""
FROM_IMAGE = "FromImage"
@@ -44,8 +45,8 @@ class OperatingSystemTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class ProtocolTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the protocol of listener. :code:`
`:code:`
` Possible values are:
- :code:`
`\\ **http** :code:`
`:code:`
` **https**.
+ """Specifies the protocol of listener. :code:`
`\\ :code:`
` Possible values are:
+ :code:`
`\\ **http** :code:`
`\\ :code:`
` **https**.
"""
HTTP = "Http"
@@ -70,11 +71,11 @@ class StatusLevelTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class UpgradeMode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control the application
- of updates to virtual machines in the scale set. You do this by using the manualUpgrade
- action.:code:`
`:code:`
` **Automatic** - All virtual machines in the scale set are
- automatically updated at the same time.
+ """Specifies the mode of an upgrade to virtual machines in the scale set.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Manual** - You control
+ the application of updates to virtual machines in the scale set. You do this by using the
+ manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** - All virtual machines in
+ the scale set are automatically updated at the same time.
"""
AUTOMATIC = "Automatic"
@@ -92,13 +93,13 @@ class VirtualMachineSizeTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the size of the virtual machine. For more information about virtual machine sizes,
see `Sizes for virtual machines
`_.
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set
`_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_
- :code:`
`:code:`
` `List all available virtual machine sizes for resizing
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\
+ :code:`
` `List all available virtual machine sizes for resizing
`_.
"""
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/_models_py3.py
index 6ff72305e3a7..5fd6ce515cc9 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/_models_py3.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15/models/_models_py3.py
@@ -247,10 +247,10 @@ class AvailabilitySet(Resource):
maximize availability. For more information about availability sets, see `Manage the
availability of virtual machines
`_.
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
Variables are only populated by the server, and will be ignored when sending a request.
@@ -365,9 +365,9 @@ def __init__(
class BootDiagnostics(_serialization.Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
- to diagnose VM status. :code:`
`:code:`
` You can easily view the output of your console
- log. :code:`
`:code:`
` Azure also enables you to see a screenshot of the VM from the
- hypervisor.
+ to diagnose VM status. :code:`
`\\ :code:`
` You can easily view the output of your
+ console log. :code:`
`\\ :code:`
` Azure also enables you to see a screenshot of the VM
+ from the hypervisor.
:ivar enabled: Whether boot diagnostics should be enabled on the Virtual Machine.
:vartype enabled: bool
@@ -459,22 +459,22 @@ class DataDisk(_serialization.Model):
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:vartype image: ~azure.mgmt.compute.v2015_06_15.models.VirtualHardDisk
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2015_06_15.models.CachingTypes
- :ivar create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :ivar create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:vartype create_option: str or ~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:ivar disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be
- used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the size of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:vartype disk_size_gb: int
"""
@@ -521,23 +521,23 @@ def __init__(
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:paramtype image: ~azure.mgmt.compute.v2015_06_15.models.VirtualHardDisk
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2015_06_15.models.CachingTypes
- :keyword create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :keyword create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:paramtype create_option: str or ~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:keyword disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can
- be used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
- This value cannot be larger than 1023 GB.
+ be used to overwrite the size of the disk in a virtual machine image. :code:`
`\\
+ :code:`
` This value cannot be larger than 1023 GB.
:paramtype disk_size_gb: int
"""
super().__init__(**kwargs)
@@ -575,13 +575,13 @@ def __init__(self, **kwargs: Any) -> None:
class DiagnosticsProfile(_serialization.Model):
- """Specifies the boot diagnostic settings state. :code:`
`:code:`
`Minimum api-version:
+ """Specifies the boot diagnostic settings state. :code:`
`\\ :code:`
`Minimum api-version:
2015-06-15.
:ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:vartype boot_diagnostics: ~azure.mgmt.compute.v2015_06_15.models.BootDiagnostics
"""
@@ -592,9 +592,9 @@ class DiagnosticsProfile(_serialization.Model):
def __init__(self, *, boot_diagnostics: Optional["_models.BootDiagnostics"] = None, **kwargs: Any) -> None:
"""
:keyword boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:paramtype boot_diagnostics: ~azure.mgmt.compute.v2015_06_15.models.BootDiagnostics
"""
super().__init__(**kwargs)
@@ -686,13 +686,13 @@ class HardwareProfile(_serialization.Model):
:ivar vm_size: Specifies the size of the virtual machine. For more information about virtual
machine sizes, see `Sizes for virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set
`_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_
- :code:`
`:code:`
` `List all available virtual machine sizes for resizing
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\
+ :code:`
` `List all available virtual machine sizes for resizing
`_. Known
values are: "Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0",
"Standard_A1", "Standard_A2", "Standard_A3", "Standard_A4", "Standard_A5", "Standard_A6",
@@ -718,13 +718,13 @@ def __init__(
:keyword vm_size: Specifies the size of the virtual machine. For more information about virtual
machine sizes, see `Sizes for virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set
`_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_
- :code:`
`:code:`
` `List all available virtual machine sizes for resizing
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\
+ :code:`
` `List all available virtual machine sizes for resizing
`_. Known
values are: "Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0",
"Standard_A1", "Standard_A2", "Standard_A3", "Standard_A4", "Standard_A5", "Standard_A6",
@@ -950,11 +950,11 @@ def __init__(self, *, secret_url: str, source_vault: "_models.SubResource", **kw
class LinuxConfiguration(_serialization.Model):
- """Specifies the Linux operating system settings on the virtual machine.
- :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
- Azure-Endorsed Distributions
+ """Specifies the Linux operating system settings on the virtual machine. :code:`
`\\
+ :code:`
`For a list of supported Linux distributions, see `Linux on Azure-Endorsed
+ Distributions
`_
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_.
@@ -1143,19 +1143,19 @@ def __init__(self, **kwargs: Any) -> None:
class OSDisk(_serialization.Model):
"""Specifies information about the operating system disk used by the virtual machine.
- :code:`
`:code:`
` For more information about disks, see `About disks and VHDs for Azure
- virtual machines
+ :code:`
`\\ :code:`
` For more information about disks, see `About disks and VHDs for
+ Azure virtual machines
`_.
All required parameters must be populated in order to send to server.
:ivar os_type: This property allows you to specify the type of the OS that is included in the
- disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
` Possible
- values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**. Known
- values are: "Windows" and "Linux".
+ disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:vartype os_type: str or ~azure.mgmt.compute.v2015_06_15.models.OperatingSystemTypes
- :ivar encryption_settings: Specifies the encryption settings for the OS Disk.
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :ivar encryption_settings: Specifies the encryption settings for the OS Disk. :code:`
`\\
+ :code:`
` Minimum api-version: 2015-06-15.
:vartype encryption_settings: ~azure.mgmt.compute.v2015_06_15.models.DiskEncryptionSettings
:ivar name: The disk name. Required.
:vartype name: str
@@ -1165,22 +1165,22 @@ class OSDisk(_serialization.Model):
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:vartype image: ~azure.mgmt.compute.v2015_06_15.models.VirtualHardDisk
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2015_06_15.models.CachingTypes
- :ivar create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :ivar create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:vartype create_option: str or ~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:ivar disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be
- used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the size of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:vartype disk_size_gb: int
"""
@@ -1217,12 +1217,12 @@ def __init__(
) -> None:
"""
:keyword os_type: This property allows you to specify the type of the OS that is included in
- the disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
`
- Possible values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**.
- Known values are: "Windows" and "Linux".
+ the disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:paramtype os_type: str or ~azure.mgmt.compute.v2015_06_15.models.OperatingSystemTypes
- :keyword encryption_settings: Specifies the encryption settings for the OS Disk.
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :keyword encryption_settings: Specifies the encryption settings for the OS Disk. :code:`
`\\
+ :code:`
` Minimum api-version: 2015-06-15.
:paramtype encryption_settings: ~azure.mgmt.compute.v2015_06_15.models.DiskEncryptionSettings
:keyword name: The disk name. Required.
:paramtype name: str
@@ -1232,23 +1232,23 @@ def __init__(
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:paramtype image: ~azure.mgmt.compute.v2015_06_15.models.VirtualHardDisk
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2015_06_15.models.CachingTypes
- :keyword create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :keyword create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:paramtype create_option: str or ~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:keyword disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can
- be used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
- This value cannot be larger than 1023 GB.
+ be used to overwrite the size of the disk in a virtual machine image. :code:`
`\\
+ :code:`
` This value cannot be larger than 1023 GB.
:paramtype disk_size_gb: int
"""
super().__init__(**kwargs)
@@ -1293,46 +1293,47 @@ def __init__(self, *, operating_system: Union[str, "_models.OperatingSystemTypes
class OSProfile(_serialization.Model):
"""Specifies the operating system settings for the virtual machine.
- :ivar computer_name: Specifies the host OS name of the virtual machine.
- :code:`
`:code:`
` This name cannot be updated after the VM is created.
- :code:`
`:code:`
` **Max-length (Windows):** 15 characters :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters. :code:`
`:code:`
` For naming conventions and
- restrictions see `Azure infrastructure services implementation guidelines
+ :ivar computer_name: Specifies the host OS name of the virtual machine. :code:`
`\\
+ :code:`
` This name cannot be updated after the VM is created. :code:`
`\\ :code:`
`
+ **Max-length (Windows):** 15 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 64
+ characters. :code:`
`\\ :code:`
` For naming conventions and restrictions see `Azure
+ infrastructure services implementation guidelines
`_. # pylint: disable=line-too-long
:vartype computer_name: str
- :ivar admin_username: Specifies the name of the administrator account. :code:`
`:code:`
`
- **Windows-only restriction:** Cannot end in "." :code:`
`:code:`
` **Disallowed values:**
- "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1",
- "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest",
- "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2",
- "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length (Linux):** 1 character
- :code:`
`:code:`
` **Max-length (Linux):** 64 characters :code:`
`:code:`
`
- **Max-length (Windows):** 20 characters :code:`
`:code:`
`:code:`` For root access
- to the Linux VM, see `Using root privileges on Linux virtual machines in Azure
+ :ivar admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:vartype admin_username: str
- :ivar admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :ivar admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:vartype admin_password: str
:ivar custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded
string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum
- length of the binary array is 65535 bytes. :code:`
`:code:`
` For using cloud-init for
+ length of the binary array is 65535 bytes. :code:`
`\\ :code:`
` For using cloud-init for
your VM, see `Using cloud-init to customize a Linux VM during creation
`_. # pylint: disable=line-too-long
:vartype custom_data: str
@@ -1340,10 +1341,10 @@ class OSProfile(_serialization.Model):
machine.
:vartype windows_configuration: ~azure.mgmt.compute.v2015_06_15.models.WindowsConfiguration
:ivar linux_configuration: Specifies the Linux operating system settings on the virtual
- machine. :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
+ machine. :code:`
`\\ :code:`
`For a list of supported Linux distributions, see `Linux on
Azure-Endorsed Distributions
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_. # pylint: disable=line-too-long
:vartype linux_configuration: ~azure.mgmt.compute.v2015_06_15.models.LinuxConfiguration
@@ -1374,47 +1375,47 @@ def __init__(
**kwargs: Any
) -> None:
"""
- :keyword computer_name: Specifies the host OS name of the virtual machine.
- :code:`
`:code:`
` This name cannot be updated after the VM is created.
- :code:`
`:code:`
` **Max-length (Windows):** 15 characters :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters. :code:`
`:code:`
` For naming conventions and
- restrictions see `Azure infrastructure services implementation guidelines
+ :keyword computer_name: Specifies the host OS name of the virtual machine. :code:`
`\\
+ :code:`
` This name cannot be updated after the VM is created. :code:`
`\\ :code:`
`
+ **Max-length (Windows):** 15 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 64
+ characters. :code:`
`\\ :code:`
` For naming conventions and restrictions see `Azure
+ infrastructure services implementation guidelines
`_. # pylint: disable=line-too-long
:paramtype computer_name: str
- :keyword admin_username: Specifies the name of the administrator account.
- :code:`
`:code:`
` **Windows-only restriction:** Cannot end in "."
- :code:`
`:code:`
` **Disallowed values:** "administrator", "admin", "user", "user1",
- "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2",
- "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql",
- "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
- :code:`
`:code:`
` **Minimum-length (Linux):** 1 character :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters :code:`
`:code:`
` **Max-length (Windows):** 20
- characters :code:`
`:code:`
`:code:`` For root access to the Linux VM, see `Using
- root privileges on Linux virtual machines in Azure
+ :keyword admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:paramtype admin_username: str
- :keyword admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :keyword admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:paramtype admin_password: str
:keyword custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded
string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum
- length of the binary array is 65535 bytes. :code:`
`:code:`
` For using cloud-init for
+ length of the binary array is 65535 bytes. :code:`
`\\ :code:`
` For using cloud-init for
your VM, see `Using cloud-init to customize a Linux VM during creation
`_. # pylint: disable=line-too-long
:paramtype custom_data: str
@@ -1422,10 +1423,10 @@ def __init__(
machine.
:paramtype windows_configuration: ~azure.mgmt.compute.v2015_06_15.models.WindowsConfiguration
:keyword linux_configuration: Specifies the Linux operating system settings on the virtual
- machine. :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
+ machine. :code:`
`\\ :code:`
`For a list of supported Linux distributions, see `Linux on
Azure-Endorsed Distributions
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_. # pylint: disable=line-too-long
:paramtype linux_configuration: ~azure.mgmt.compute.v2015_06_15.models.LinuxConfiguration
@@ -1544,9 +1545,9 @@ class Sku(_serialization.Model):
:ivar name: The sku name.
:vartype name: str
- :ivar tier: Specifies the tier of virtual machines in a scale set.:code:`
`:code:`
`
- Possible Values::code:`
`:code:`
` **Standard**\\ :code:`
`:code:`
`
- **Basic**.
+ :ivar tier: Specifies the tier of virtual machines in a scale set.\\ :code:`
`\\
+ :code:`
` Possible Values:\\ :code:`
`\\ :code:`
` **Standard**\\ :code:`
`\\ :code:`
` **Basic**.
:vartype tier: str
:ivar capacity: Specifies the number of virtual machines in the scale set.
:vartype capacity: int
@@ -1564,9 +1565,9 @@ def __init__(
"""
:keyword name: The sku name.
:paramtype name: str
- :keyword tier: Specifies the tier of virtual machines in a scale set.:code:`
`:code:`
` Possible Values::code:`
`:code:`
` **Standard**\\ :code:`
`:code:`
`
- **Basic**.
+ :keyword tier: Specifies the tier of virtual machines in a scale set.\\ :code:`
`\\
+ :code:`
` Possible Values:\\ :code:`
`\\ :code:`
` **Standard**\\ :code:`
`\\ :code:`
` **Basic**.
:paramtype tier: str
:keyword capacity: Specifies the number of virtual machines in the scale set.
:paramtype capacity: int
@@ -1606,8 +1607,8 @@ class SshPublicKey(_serialization.Model):
/home/user/.ssh/authorized_keys.
:vartype path: str
:ivar key_data: SSH public key certificate used to authenticate with the VM through ssh. The
- key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`:code:`
` For creating
- ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
+ key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`\\ :code:`
` For
+ creating ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
`_. # pylint: disable=line-too-long
:vartype key_data: str
"""
@@ -1624,8 +1625,8 @@ def __init__(self, *, path: Optional[str] = None, key_data: Optional[str] = None
/home/user/.ssh/authorized_keys.
:paramtype path: str
:keyword key_data: SSH public key certificate used to authenticate with the VM through ssh. The
- key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`:code:`
` For creating
- ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
+ key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`\\ :code:`
` For
+ creating ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
`_. # pylint: disable=line-too-long
:paramtype key_data: str
"""
@@ -1643,13 +1644,13 @@ class StorageProfile(_serialization.Model):
but is not used in other creation operations.
:vartype image_reference: ~azure.mgmt.compute.v2015_06_15.models.ImageReference
:ivar os_disk: Specifies information about the operating system disk used by the virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:vartype os_disk: ~azure.mgmt.compute.v2015_06_15.models.OSDisk
:ivar data_disks: Specifies the parameters that are used to add a data disk to a virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:vartype data_disks: list[~azure.mgmt.compute.v2015_06_15.models.DataDisk]
"""
@@ -1675,13 +1676,13 @@ def __init__(
but is not used in other creation operations.
:paramtype image_reference: ~azure.mgmt.compute.v2015_06_15.models.ImageReference
:keyword os_disk: Specifies information about the operating system disk used by the virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:paramtype os_disk: ~azure.mgmt.compute.v2015_06_15.models.OSDisk
:keyword data_disks: Specifies the parameters that are used to add a data disk to a virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:paramtype data_disks: list[~azure.mgmt.compute.v2015_06_15.models.DataDisk]
"""
@@ -1714,12 +1715,12 @@ def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> N
class UpgradePolicy(_serialization.Model):
"""Describes an upgrade policy - automatic or manual.
- :ivar mode: Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control
- the application of updates to virtual machines in the scale set. You do this by using the
- manualUpgrade action.:code:`
`:code:`
` **Automatic** - All virtual machines in the
- scale set are automatically updated at the same time. Known values are: "Automatic" and
- "Manual".
+ :ivar mode: Specifies the mode of an upgrade to virtual machines in the scale set.\\ :code:`
`\\ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Manual** - You
+ control the application of updates to virtual machines in the scale set. You do this by using
+ the manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** - All virtual
+ machines in the scale set are automatically updated at the same time. Known values are:
+ "Automatic" and "Manual".
:vartype mode: str or ~azure.mgmt.compute.v2015_06_15.models.UpgradeMode
"""
@@ -1729,12 +1730,12 @@ class UpgradePolicy(_serialization.Model):
def __init__(self, *, mode: Optional[Union[str, "_models.UpgradeMode"]] = None, **kwargs: Any) -> None:
"""
- :keyword mode: Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control
- the application of updates to virtual machines in the scale set. You do this by using the
- manualUpgrade action.:code:`
`:code:`
` **Automatic** - All virtual machines in the
- scale set are automatically updated at the same time. Known values are: "Automatic" and
- "Manual".
+ :keyword mode: Specifies the mode of an upgrade to virtual machines in the scale set.\\
+ :code:`
`\\ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
`
+ **Manual** - You control the application of updates to virtual machines in the scale set. You
+ do this by using the manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** -
+ All virtual machines in the scale set are automatically updated at the same time. Known values
+ are: "Automatic" and "Manual".
:paramtype mode: str or ~azure.mgmt.compute.v2015_06_15.models.UpgradeMode
"""
super().__init__(**kwargs)
@@ -1824,13 +1825,13 @@ class VaultCertificate(_serialization.Model):
a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:vartype certificate_url: str
:ivar certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
- in the LocalMachine account. :code:`
`:code:`
`For Linux VMs, the certificate file is
+ in the LocalMachine account. :code:`
`\\ :code:`
`For Linux VMs, the certificate file is
placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt
for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of
these files are .pem formatted.
@@ -1850,13 +1851,13 @@ def __init__(
as a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:paramtype certificate_url: str
:keyword certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
- in the LocalMachine account. :code:`
`:code:`
`For Linux VMs, the certificate file is
+ in the LocalMachine account. :code:`
`\\ :code:`
`For Linux VMs, the certificate file is
placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt
for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of
these files are .pem formatted.
@@ -1956,18 +1957,18 @@ class VirtualMachine(Resource):
:vartype os_profile: ~azure.mgmt.compute.v2015_06_15.models.OSProfile
:ivar network_profile: Specifies the network interfaces of the virtual machine.
:vartype network_profile: ~azure.mgmt.compute.v2015_06_15.models.NetworkProfile
- :ivar diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :ivar diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:vartype diagnostics_profile: ~azure.mgmt.compute.v2015_06_15.models.DiagnosticsProfile
:ivar availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:vartype availability_set: ~azure.mgmt.compute.v2015_06_15.models.SubResource
:ivar provisioning_state: The provisioning state, which only appears in the response.
@@ -1976,12 +1977,13 @@ class VirtualMachine(Resource):
:vartype instance_view: ~azure.mgmt.compute.v2015_06_15.models.VirtualMachineInstanceView
:ivar license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:vartype license_type: str
"""
@@ -2048,28 +2050,29 @@ def __init__(
:paramtype os_profile: ~azure.mgmt.compute.v2015_06_15.models.OSProfile
:keyword network_profile: Specifies the network interfaces of the virtual machine.
:paramtype network_profile: ~azure.mgmt.compute.v2015_06_15.models.NetworkProfile
- :keyword diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :keyword diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:paramtype diagnostics_profile: ~azure.mgmt.compute.v2015_06_15.models.DiagnosticsProfile
:keyword availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:paramtype availability_set: ~azure.mgmt.compute.v2015_06_15.models.SubResource
:keyword license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:paramtype license_type: str
"""
super().__init__(location=location, tags=tags, **kwargs)
@@ -2738,9 +2741,9 @@ class VirtualMachineInstanceView(_serialization.Model):
:vartype extensions:
list[~azure.mgmt.compute.v2015_06_15.models.VirtualMachineExtensionInstanceView]
:ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:vartype boot_diagnostics: ~azure.mgmt.compute.v2015_06_15.models.BootDiagnosticsInstanceView
:ivar statuses: The resource status information.
:vartype statuses: list[~azure.mgmt.compute.v2015_06_15.models.InstanceViewStatus]
@@ -2785,9 +2788,9 @@ def __init__(
:paramtype extensions:
list[~azure.mgmt.compute.v2015_06_15.models.VirtualMachineExtensionInstanceView]
:keyword boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:paramtype boot_diagnostics: ~azure.mgmt.compute.v2015_06_15.models.BootDiagnosticsInstanceView
:keyword statuses: The resource status information.
:paramtype statuses: list[~azure.mgmt.compute.v2015_06_15.models.InstanceViewStatus]
@@ -3352,22 +3355,23 @@ class VirtualMachineScaleSetOSDisk(_serialization.Model):
:ivar name: The disk name. Required.
:vartype name: str
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2015_06_15.models.CachingTypes
- :ivar create_option: Specifies how the virtual machines in the scale set should be
- created.:code:`
`:code:`
` The only allowed value is: **FromImage** \\u2013 This value is
- used when you are using an image to create the virtual machine. If you are using a platform
- image, you also use the imageReference element described above. If you are using a marketplace
- image, you also use the plan element previously described. Required. Known values are:
- "FromImage", "Empty", and "Attach".
+ :ivar create_option: Specifies how the virtual machines in the scale set should be created.\\
+ :code:`
`\\ :code:`
` The only allowed value is: **FromImage** \\u2013 This value is used
+ when you are using an image to create the virtual machine. If you are using a platform image,
+ you also use the imageReference element described above. If you are using a marketplace image,
+ you also use the plan element previously described. Required. Known values are: "FromImage",
+ "Empty", and "Attach".
:vartype create_option: str or ~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:ivar os_type: This property allows you to specify the type of the OS that is included in the
- disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
` Possible
- values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**. Known
- values are: "Windows" and "Linux".
+ disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:vartype os_type: str or ~azure.mgmt.compute.v2015_06_15.models.OperatingSystemTypes
:ivar image: The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before
using it to attach to the Virtual Machine. If SourceImage is provided, the destination
@@ -3405,22 +3409,23 @@ def __init__(
"""
:keyword name: The disk name. Required.
:paramtype name: str
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2015_06_15.models.CachingTypes
:keyword create_option: Specifies how the virtual machines in the scale set should be
- created.:code:`
`:code:`
` The only allowed value is: **FromImage** \\u2013 This value is
- used when you are using an image to create the virtual machine. If you are using a platform
- image, you also use the imageReference element described above. If you are using a marketplace
- image, you also use the plan element previously described. Required. Known values are:
- "FromImage", "Empty", and "Attach".
+ created.\\ :code:`
`\\ :code:`
` The only allowed value is: **FromImage** \\u2013 This
+ value is used when you are using an image to create the virtual machine. If you are using a
+ platform image, you also use the imageReference element described above. If you are using a
+ marketplace image, you also use the plan element previously described. Required. Known values
+ are: "FromImage", "Empty", and "Attach".
:paramtype create_option: str or ~azure.mgmt.compute.v2015_06_15.models.DiskCreateOptionTypes
:keyword os_type: This property allows you to specify the type of the OS that is included in
- the disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
`
- Possible values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**.
- Known values are: "Windows" and "Linux".
+ the disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:paramtype os_type: str or ~azure.mgmt.compute.v2015_06_15.models.OperatingSystemTypes
:keyword image: The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied
before using it to attach to the Virtual Machine. If SourceImage is provided, the destination
@@ -3444,33 +3449,34 @@ class VirtualMachineScaleSetOSProfile(_serialization.Model):
:ivar computer_name_prefix: Specifies the computer name prefix for all of the virtual machines
in the scale set. Computer name prefixes must be 1 to 15 characters long.
:vartype computer_name_prefix: str
- :ivar admin_username: Specifies the name of the administrator account. :code:`
`:code:`
`
- **Windows-only restriction:** Cannot end in "." :code:`
`:code:`
` **Disallowed values:**
- "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1",
- "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest",
- "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2",
- "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length (Linux):** 1 character
- :code:`
`:code:`
` **Max-length (Linux):** 64 characters :code:`
`:code:`
`
- **Max-length (Windows):** 20 characters :code:`
`:code:`
`:code:`` For root access
- to the Linux VM, see `Using root privileges on Linux virtual machines in Azure
+ :ivar admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:vartype admin_username: str
- :ivar admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :ivar admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:vartype admin_password: str
@@ -3510,34 +3516,34 @@ def __init__(
:keyword computer_name_prefix: Specifies the computer name prefix for all of the virtual
machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
:paramtype computer_name_prefix: str
- :keyword admin_username: Specifies the name of the administrator account.
- :code:`
`:code:`
` **Windows-only restriction:** Cannot end in "."
- :code:`
`:code:`
` **Disallowed values:** "administrator", "admin", "user", "user1",
- "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2",
- "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql",
- "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
- :code:`
`:code:`
` **Minimum-length (Linux):** 1 character :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters :code:`
`:code:`
` **Max-length (Windows):** 20
- characters :code:`
`:code:`
`:code:`` For root access to the Linux VM, see `Using
- root privileges on Linux virtual machines in Azure
+ :keyword admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:paramtype admin_username: str
- :keyword admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :keyword admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:paramtype admin_password: str
@@ -3708,30 +3714,31 @@ class VirtualMachineScaleSetVM(Resource):
:vartype os_profile: ~azure.mgmt.compute.v2015_06_15.models.OSProfile
:ivar network_profile: Specifies the network interfaces of the virtual machine.
:vartype network_profile: ~azure.mgmt.compute.v2015_06_15.models.NetworkProfile
- :ivar diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :ivar diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:vartype diagnostics_profile: ~azure.mgmt.compute.v2015_06_15.models.DiagnosticsProfile
:ivar availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:vartype availability_set: ~azure.mgmt.compute.v2015_06_15.models.SubResource
:ivar provisioning_state: The provisioning state, which only appears in the response.
:vartype provisioning_state: str
:ivar license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:vartype license_type: str
"""
@@ -3804,30 +3811,31 @@ def __init__(
:paramtype os_profile: ~azure.mgmt.compute.v2015_06_15.models.OSProfile
:keyword network_profile: Specifies the network interfaces of the virtual machine.
:paramtype network_profile: ~azure.mgmt.compute.v2015_06_15.models.NetworkProfile
- :keyword diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :keyword diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:paramtype diagnostics_profile: ~azure.mgmt.compute.v2015_06_15.models.DiagnosticsProfile
:keyword availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:paramtype availability_set: ~azure.mgmt.compute.v2015_06_15.models.SubResource
:keyword provisioning_state: The provisioning state, which only appears in the response.
:paramtype provisioning_state: str
:keyword license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:paramtype license_type: str
"""
super().__init__(location=location, tags=tags, **kwargs)
@@ -3943,9 +3951,9 @@ class VirtualMachineScaleSetVMInstanceView(_serialization.Model):
:vartype extensions:
list[~azure.mgmt.compute.v2015_06_15.models.VirtualMachineExtensionInstanceView]
:ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:vartype boot_diagnostics: ~azure.mgmt.compute.v2015_06_15.models.BootDiagnosticsInstanceView
:ivar statuses: The resource status information.
:vartype statuses: list[~azure.mgmt.compute.v2015_06_15.models.InstanceViewStatus]
@@ -3990,9 +3998,9 @@ def __init__(
:paramtype extensions:
list[~azure.mgmt.compute.v2015_06_15.models.VirtualMachineExtensionInstanceView]
:keyword boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:paramtype boot_diagnostics: ~azure.mgmt.compute.v2015_06_15.models.BootDiagnosticsInstanceView
:keyword statuses: The resource status information.
:paramtype statuses: list[~azure.mgmt.compute.v2015_06_15.models.InstanceViewStatus]
@@ -4210,7 +4218,7 @@ class WindowsConfiguration(_serialization.Model):
"""Specifies Windows operating system settings on the virtual machine.
:ivar provision_vm_agent: Indicates whether virtual machine agent should be provisioned on the
- virtual machine. :code:`
`:code:`
` When this property is not specified in the request
+ virtual machine. :code:`
`\\ :code:`
` When this property is not specified in the request
body, default behavior is to set it to true. This will ensure that VM Agent is installed on
the VM so that extensions can be added to the VM later.
:vartype provision_vm_agent: bool
@@ -4248,7 +4256,7 @@ def __init__(
) -> None:
"""
:keyword provision_vm_agent: Indicates whether virtual machine agent should be provisioned on
- the virtual machine. :code:`
`:code:`
` When this property is not specified in the
+ the virtual machine. :code:`
`\\ :code:`
` When this property is not specified in the
request body, default behavior is to set it to true. This will ensure that VM Agent is
installed on the VM so that extensions can be added to the VM later.
:paramtype provision_vm_agent: bool
@@ -4297,17 +4305,17 @@ def __init__(self, *, listeners: Optional[List["_models.WinRMListener"]] = None,
class WinRMListener(_serialization.Model):
"""Describes Protocol and thumbprint of Windows Remote Management listener.
- :ivar protocol: Specifies the protocol of listener. :code:`
`:code:`
` Possible values
- are: :code:`
`\\ **http** :code:`
`:code:`
` **https**. Known values are: "Http" and
- "Https".
+ :ivar protocol: Specifies the protocol of listener. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ **http** :code:`
`\\ :code:`
` **https**. Known values are: "Http"
+ and "Https".
:vartype protocol: str or ~azure.mgmt.compute.v2015_06_15.models.ProtocolTypes
:ivar certificate_url: This is the URL of a certificate that has been uploaded to Key Vault as
a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:vartype certificate_url: str
"""
@@ -4324,17 +4332,17 @@ def __init__(
**kwargs: Any
) -> None:
"""
- :keyword protocol: Specifies the protocol of listener. :code:`
`:code:`
` Possible values
- are: :code:`
`\\ **http** :code:`
`:code:`
` **https**. Known values are: "Http" and
- "Https".
+ :keyword protocol: Specifies the protocol of listener. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ **http** :code:`
`\\ :code:`
` **https**. Known values are:
+ "Http" and "Https".
:paramtype protocol: str or ~azure.mgmt.compute.v2015_06_15.models.ProtocolTypes
:keyword certificate_url: This is the URL of a certificate that has been uploaded to Key Vault
as a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:paramtype certificate_url: str
"""
super().__init__(**kwargs)
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/_compute_management_client_enums.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/_compute_management_client_enums.py
index 92118f0ab8c9..24b5b49944a3 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/_compute_management_client_enums.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/_compute_management_client_enums.py
@@ -11,10 +11,10 @@
class CachingTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the caching requirements. :code:`
`:code:`
` Possible values are:
- :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**.
+ """Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values are:
+ :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly** :code:`
`\\
+ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for Standard storage.
+ ReadOnly for Premium storage**.
"""
NONE = "None"
@@ -23,12 +23,13 @@ class CachingTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class DiskCreateOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies how the virtual machine should be created.:code:`
`:code:`
` Possible values
- are::code:`
`:code:`
` **Attach** \\u2013 This value is used when you are using a
- specialized disk to create the virtual machine.:code:`
`:code:`
` **FromImage** \\u2013
- This value is used when you are using an image to create the virtual machine. If you are using
- a platform image, you also use the imageReference element described above. If you are using a
- marketplace image, you also use the plan element previously described.
+ """Specifies how the virtual machine should be created.\\ :code:`
`\\ :code:`
` Possible
+ values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value is used when you are
+ using a specialized disk to create the virtual machine.\\ :code:`
`\\ :code:`
`
+ **FromImage** \\u2013 This value is used when you are using an image to create the virtual
+ machine. If you are using a platform image, you also use the imageReference element described
+ above. If you are using a marketplace image, you also use the plan element previously
+ described.
"""
FROM_IMAGE = "FromImage"
@@ -44,8 +45,8 @@ class OperatingSystemTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class ProtocolTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the protocol of listener. :code:`
`:code:`
` Possible values are:
- :code:`
`\\ **http** :code:`
`:code:`
` **https**.
+ """Specifies the protocol of listener. :code:`
`\\ :code:`
` Possible values are:
+ :code:`
`\\ **http** :code:`
`\\ :code:`
` **https**.
"""
HTTP = "Http"
@@ -70,11 +71,11 @@ class StatusLevelTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class UpgradeMode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control the application
- of updates to virtual machines in the scale set. You do this by using the manualUpgrade
- action.:code:`
`:code:`
` **Automatic** - All virtual machines in the scale set are
- automatically updated at the same time.
+ """Specifies the mode of an upgrade to virtual machines in the scale set.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Manual** - You control
+ the application of updates to virtual machines in the scale set. You do this by using the
+ manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** - All virtual machines in
+ the scale set are automatically updated at the same time.
"""
AUTOMATIC = "Automatic"
@@ -92,13 +93,13 @@ class VirtualMachineSizeTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the size of the virtual machine. For more information about virtual machine sizes,
see `Sizes for virtual machines
`_.
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set
`_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_
- :code:`
`:code:`
` `List all available virtual machine sizes for resizing
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\
+ :code:`
` `List all available virtual machine sizes for resizing
`_.
"""
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/_models_py3.py
index d623a0f25150..8a99b716d5d2 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/_models_py3.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30/models/_models_py3.py
@@ -247,10 +247,10 @@ class AvailabilitySet(Resource):
maximize availability. For more information about availability sets, see `Manage the
availability of virtual machines
`_.
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
Variables are only populated by the server, and will be ignored when sending a request.
@@ -365,9 +365,9 @@ def __init__(
class BootDiagnostics(_serialization.Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
- to diagnose VM status. :code:`
`:code:`
` You can easily view the output of your console
- log. :code:`
`:code:`
` Azure also enables you to see a screenshot of the VM from the
- hypervisor.
+ to diagnose VM status. :code:`
`\\ :code:`
` You can easily view the output of your
+ console log. :code:`
`\\ :code:`
` Azure also enables you to see a screenshot of the VM
+ from the hypervisor.
:ivar enabled: Whether boot diagnostics should be enabled on the Virtual Machine.
:vartype enabled: bool
@@ -459,22 +459,22 @@ class DataDisk(_serialization.Model):
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:vartype image: ~azure.mgmt.compute.v2016_03_30.models.VirtualHardDisk
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2016_03_30.models.CachingTypes
- :ivar create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :ivar create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:vartype create_option: str or ~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:ivar disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be
- used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the size of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:vartype disk_size_gb: int
"""
@@ -521,23 +521,23 @@ def __init__(
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:paramtype image: ~azure.mgmt.compute.v2016_03_30.models.VirtualHardDisk
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2016_03_30.models.CachingTypes
- :keyword create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :keyword create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:paramtype create_option: str or ~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:keyword disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can
- be used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
- This value cannot be larger than 1023 GB.
+ be used to overwrite the size of the disk in a virtual machine image. :code:`
`\\
+ :code:`
` This value cannot be larger than 1023 GB.
:paramtype disk_size_gb: int
"""
super().__init__(**kwargs)
@@ -575,13 +575,13 @@ def __init__(self, **kwargs: Any) -> None:
class DiagnosticsProfile(_serialization.Model):
- """Specifies the boot diagnostic settings state. :code:`
`:code:`
`Minimum api-version:
+ """Specifies the boot diagnostic settings state. :code:`
`\\ :code:`
`Minimum api-version:
2015-06-15.
:ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:vartype boot_diagnostics: ~azure.mgmt.compute.v2016_03_30.models.BootDiagnostics
"""
@@ -592,9 +592,9 @@ class DiagnosticsProfile(_serialization.Model):
def __init__(self, *, boot_diagnostics: Optional["_models.BootDiagnostics"] = None, **kwargs: Any) -> None:
"""
:keyword boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:paramtype boot_diagnostics: ~azure.mgmt.compute.v2016_03_30.models.BootDiagnostics
"""
super().__init__(**kwargs)
@@ -680,13 +680,13 @@ class HardwareProfile(_serialization.Model):
:ivar vm_size: Specifies the size of the virtual machine. For more information about virtual
machine sizes, see `Sizes for virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set
`_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_
- :code:`
`:code:`
` `List all available virtual machine sizes for resizing
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\
+ :code:`
` `List all available virtual machine sizes for resizing
`_. Known
values are: "Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0",
"Standard_A1", "Standard_A2", "Standard_A3", "Standard_A4", "Standard_A5", "Standard_A6",
@@ -714,13 +714,13 @@ def __init__(
:keyword vm_size: Specifies the size of the virtual machine. For more information about virtual
machine sizes, see `Sizes for virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set
`_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_
- :code:`
`:code:`
` `List all available virtual machine sizes for resizing
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\
+ :code:`
` `List all available virtual machine sizes for resizing
`_. Known
values are: "Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0",
"Standard_A1", "Standard_A2", "Standard_A3", "Standard_A4", "Standard_A5", "Standard_A6",
@@ -948,11 +948,11 @@ def __init__(self, *, secret_url: str, source_vault: "_models.SubResource", **kw
class LinuxConfiguration(_serialization.Model):
- """Specifies the Linux operating system settings on the virtual machine.
- :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
- Azure-Endorsed Distributions
+ """Specifies the Linux operating system settings on the virtual machine. :code:`
`\\
+ :code:`
`For a list of supported Linux distributions, see `Linux on Azure-Endorsed
+ Distributions
`_
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_.
@@ -1145,19 +1145,19 @@ def __init__(self, **kwargs: Any) -> None:
class OSDisk(_serialization.Model):
"""Specifies information about the operating system disk used by the virtual machine.
- :code:`
`:code:`
` For more information about disks, see `About disks and VHDs for Azure
- virtual machines
+ :code:`
`\\ :code:`
` For more information about disks, see `About disks and VHDs for
+ Azure virtual machines
`_.
All required parameters must be populated in order to send to server.
:ivar os_type: This property allows you to specify the type of the OS that is included in the
- disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
` Possible
- values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**. Known
- values are: "Windows" and "Linux".
+ disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:vartype os_type: str or ~azure.mgmt.compute.v2016_03_30.models.OperatingSystemTypes
- :ivar encryption_settings: Specifies the encryption settings for the OS Disk.
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :ivar encryption_settings: Specifies the encryption settings for the OS Disk. :code:`
`\\
+ :code:`
` Minimum api-version: 2015-06-15.
:vartype encryption_settings: ~azure.mgmt.compute.v2016_03_30.models.DiskEncryptionSettings
:ivar name: The disk name. Required.
:vartype name: str
@@ -1167,22 +1167,22 @@ class OSDisk(_serialization.Model):
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:vartype image: ~azure.mgmt.compute.v2016_03_30.models.VirtualHardDisk
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2016_03_30.models.CachingTypes
- :ivar create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :ivar create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:vartype create_option: str or ~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:ivar disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be
- used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the size of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:vartype disk_size_gb: int
"""
@@ -1219,12 +1219,12 @@ def __init__(
) -> None:
"""
:keyword os_type: This property allows you to specify the type of the OS that is included in
- the disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
`
- Possible values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**.
- Known values are: "Windows" and "Linux".
+ the disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:paramtype os_type: str or ~azure.mgmt.compute.v2016_03_30.models.OperatingSystemTypes
- :keyword encryption_settings: Specifies the encryption settings for the OS Disk.
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :keyword encryption_settings: Specifies the encryption settings for the OS Disk. :code:`
`\\
+ :code:`
` Minimum api-version: 2015-06-15.
:paramtype encryption_settings: ~azure.mgmt.compute.v2016_03_30.models.DiskEncryptionSettings
:keyword name: The disk name. Required.
:paramtype name: str
@@ -1234,23 +1234,23 @@ def __init__(
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:paramtype image: ~azure.mgmt.compute.v2016_03_30.models.VirtualHardDisk
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2016_03_30.models.CachingTypes
- :keyword create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :keyword create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:paramtype create_option: str or ~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:keyword disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can
- be used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
- This value cannot be larger than 1023 GB.
+ be used to overwrite the size of the disk in a virtual machine image. :code:`
`\\
+ :code:`
` This value cannot be larger than 1023 GB.
:paramtype disk_size_gb: int
"""
super().__init__(**kwargs)
@@ -1295,46 +1295,47 @@ def __init__(self, *, operating_system: Union[str, "_models.OperatingSystemTypes
class OSProfile(_serialization.Model):
"""Specifies the operating system settings for the virtual machine.
- :ivar computer_name: Specifies the host OS name of the virtual machine.
- :code:`
`:code:`
` This name cannot be updated after the VM is created.
- :code:`
`:code:`
` **Max-length (Windows):** 15 characters :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters. :code:`
`:code:`
` For naming conventions and
- restrictions see `Azure infrastructure services implementation guidelines
+ :ivar computer_name: Specifies the host OS name of the virtual machine. :code:`
`\\
+ :code:`
` This name cannot be updated after the VM is created. :code:`
`\\ :code:`
`
+ **Max-length (Windows):** 15 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 64
+ characters. :code:`
`\\ :code:`
` For naming conventions and restrictions see `Azure
+ infrastructure services implementation guidelines
`_. # pylint: disable=line-too-long
:vartype computer_name: str
- :ivar admin_username: Specifies the name of the administrator account. :code:`
`:code:`
`
- **Windows-only restriction:** Cannot end in "." :code:`
`:code:`
` **Disallowed values:**
- "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1",
- "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest",
- "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2",
- "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length (Linux):** 1 character
- :code:`
`:code:`
` **Max-length (Linux):** 64 characters :code:`
`:code:`
`
- **Max-length (Windows):** 20 characters :code:`
`:code:`
`:code:`` For root access
- to the Linux VM, see `Using root privileges on Linux virtual machines in Azure
+ :ivar admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:vartype admin_username: str
- :ivar admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :ivar admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:vartype admin_password: str
:ivar custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded
string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum
- length of the binary array is 65535 bytes. :code:`
`:code:`
` For using cloud-init for
+ length of the binary array is 65535 bytes. :code:`
`\\ :code:`
` For using cloud-init for
your VM, see `Using cloud-init to customize a Linux VM during creation
`_. # pylint: disable=line-too-long
:vartype custom_data: str
@@ -1342,10 +1343,10 @@ class OSProfile(_serialization.Model):
machine.
:vartype windows_configuration: ~azure.mgmt.compute.v2016_03_30.models.WindowsConfiguration
:ivar linux_configuration: Specifies the Linux operating system settings on the virtual
- machine. :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
+ machine. :code:`
`\\ :code:`
`For a list of supported Linux distributions, see `Linux on
Azure-Endorsed Distributions
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_. # pylint: disable=line-too-long
:vartype linux_configuration: ~azure.mgmt.compute.v2016_03_30.models.LinuxConfiguration
@@ -1376,47 +1377,47 @@ def __init__(
**kwargs: Any
) -> None:
"""
- :keyword computer_name: Specifies the host OS name of the virtual machine.
- :code:`
`:code:`
` This name cannot be updated after the VM is created.
- :code:`
`:code:`
` **Max-length (Windows):** 15 characters :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters. :code:`
`:code:`
` For naming conventions and
- restrictions see `Azure infrastructure services implementation guidelines
+ :keyword computer_name: Specifies the host OS name of the virtual machine. :code:`
`\\
+ :code:`
` This name cannot be updated after the VM is created. :code:`
`\\ :code:`
`
+ **Max-length (Windows):** 15 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 64
+ characters. :code:`
`\\ :code:`
` For naming conventions and restrictions see `Azure
+ infrastructure services implementation guidelines
`_. # pylint: disable=line-too-long
:paramtype computer_name: str
- :keyword admin_username: Specifies the name of the administrator account.
- :code:`
`:code:`
` **Windows-only restriction:** Cannot end in "."
- :code:`
`:code:`
` **Disallowed values:** "administrator", "admin", "user", "user1",
- "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2",
- "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql",
- "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
- :code:`
`:code:`
` **Minimum-length (Linux):** 1 character :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters :code:`
`:code:`
` **Max-length (Windows):** 20
- characters :code:`
`:code:`
`:code:`` For root access to the Linux VM, see `Using
- root privileges on Linux virtual machines in Azure
+ :keyword admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:paramtype admin_username: str
- :keyword admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :keyword admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:paramtype admin_password: str
:keyword custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded
string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum
- length of the binary array is 65535 bytes. :code:`
`:code:`
` For using cloud-init for
+ length of the binary array is 65535 bytes. :code:`
`\\ :code:`
` For using cloud-init for
your VM, see `Using cloud-init to customize a Linux VM during creation
`_. # pylint: disable=line-too-long
:paramtype custom_data: str
@@ -1424,10 +1425,10 @@ def __init__(
machine.
:paramtype windows_configuration: ~azure.mgmt.compute.v2016_03_30.models.WindowsConfiguration
:keyword linux_configuration: Specifies the Linux operating system settings on the virtual
- machine. :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
+ machine. :code:`
`\\ :code:`
`For a list of supported Linux distributions, see `Linux on
Azure-Endorsed Distributions
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_. # pylint: disable=line-too-long
:paramtype linux_configuration: ~azure.mgmt.compute.v2016_03_30.models.LinuxConfiguration
@@ -1546,9 +1547,9 @@ class Sku(_serialization.Model):
:ivar name: The sku name.
:vartype name: str
- :ivar tier: Specifies the tier of virtual machines in a scale set.:code:`
`:code:`
`
- Possible Values::code:`
`:code:`
` **Standard**\\ :code:`
`:code:`
`
- **Basic**.
+ :ivar tier: Specifies the tier of virtual machines in a scale set.\\ :code:`
`\\
+ :code:`
` Possible Values:\\ :code:`
`\\ :code:`
` **Standard**\\ :code:`
`\\ :code:`
` **Basic**.
:vartype tier: str
:ivar capacity: Specifies the number of virtual machines in the scale set.
:vartype capacity: int
@@ -1566,9 +1567,9 @@ def __init__(
"""
:keyword name: The sku name.
:paramtype name: str
- :keyword tier: Specifies the tier of virtual machines in a scale set.:code:`
`:code:`
` Possible Values::code:`
`:code:`
` **Standard**\\ :code:`
`:code:`
`
- **Basic**.
+ :keyword tier: Specifies the tier of virtual machines in a scale set.\\ :code:`
`\\
+ :code:`
` Possible Values:\\ :code:`
`\\ :code:`
` **Standard**\\ :code:`
`\\ :code:`
` **Basic**.
:paramtype tier: str
:keyword capacity: Specifies the number of virtual machines in the scale set.
:paramtype capacity: int
@@ -1608,8 +1609,8 @@ class SshPublicKey(_serialization.Model):
/home/user/.ssh/authorized_keys.
:vartype path: str
:ivar key_data: SSH public key certificate used to authenticate with the VM through ssh. The
- key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`:code:`
` For creating
- ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
+ key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`\\ :code:`
` For
+ creating ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
`_. # pylint: disable=line-too-long
:vartype key_data: str
"""
@@ -1626,8 +1627,8 @@ def __init__(self, *, path: Optional[str] = None, key_data: Optional[str] = None
/home/user/.ssh/authorized_keys.
:paramtype path: str
:keyword key_data: SSH public key certificate used to authenticate with the VM through ssh. The
- key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`:code:`
` For creating
- ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
+ key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`\\ :code:`
` For
+ creating ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
`_. # pylint: disable=line-too-long
:paramtype key_data: str
"""
@@ -1645,13 +1646,13 @@ class StorageProfile(_serialization.Model):
but is not used in other creation operations.
:vartype image_reference: ~azure.mgmt.compute.v2016_03_30.models.ImageReference
:ivar os_disk: Specifies information about the operating system disk used by the virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:vartype os_disk: ~azure.mgmt.compute.v2016_03_30.models.OSDisk
:ivar data_disks: Specifies the parameters that are used to add a data disk to a virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:vartype data_disks: list[~azure.mgmt.compute.v2016_03_30.models.DataDisk]
"""
@@ -1677,13 +1678,13 @@ def __init__(
but is not used in other creation operations.
:paramtype image_reference: ~azure.mgmt.compute.v2016_03_30.models.ImageReference
:keyword os_disk: Specifies information about the operating system disk used by the virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:paramtype os_disk: ~azure.mgmt.compute.v2016_03_30.models.OSDisk
:keyword data_disks: Specifies the parameters that are used to add a data disk to a virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:paramtype data_disks: list[~azure.mgmt.compute.v2016_03_30.models.DataDisk]
"""
@@ -1716,12 +1717,12 @@ def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> N
class UpgradePolicy(_serialization.Model):
"""Describes an upgrade policy - automatic or manual.
- :ivar mode: Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control
- the application of updates to virtual machines in the scale set. You do this by using the
- manualUpgrade action.:code:`
`:code:`
` **Automatic** - All virtual machines in the
- scale set are automatically updated at the same time. Known values are: "Automatic" and
- "Manual".
+ :ivar mode: Specifies the mode of an upgrade to virtual machines in the scale set.\\ :code:`
`\\ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Manual** - You
+ control the application of updates to virtual machines in the scale set. You do this by using
+ the manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** - All virtual
+ machines in the scale set are automatically updated at the same time. Known values are:
+ "Automatic" and "Manual".
:vartype mode: str or ~azure.mgmt.compute.v2016_03_30.models.UpgradeMode
"""
@@ -1731,12 +1732,12 @@ class UpgradePolicy(_serialization.Model):
def __init__(self, *, mode: Optional[Union[str, "_models.UpgradeMode"]] = None, **kwargs: Any) -> None:
"""
- :keyword mode: Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control
- the application of updates to virtual machines in the scale set. You do this by using the
- manualUpgrade action.:code:`
`:code:`
` **Automatic** - All virtual machines in the
- scale set are automatically updated at the same time. Known values are: "Automatic" and
- "Manual".
+ :keyword mode: Specifies the mode of an upgrade to virtual machines in the scale set.\\
+ :code:`
`\\ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
`
+ **Manual** - You control the application of updates to virtual machines in the scale set. You
+ do this by using the manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** -
+ All virtual machines in the scale set are automatically updated at the same time. Known values
+ are: "Automatic" and "Manual".
:paramtype mode: str or ~azure.mgmt.compute.v2016_03_30.models.UpgradeMode
"""
super().__init__(**kwargs)
@@ -1826,13 +1827,13 @@ class VaultCertificate(_serialization.Model):
a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:vartype certificate_url: str
:ivar certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
- in the LocalMachine account. :code:`
`:code:`
`For Linux VMs, the certificate file is
+ in the LocalMachine account. :code:`
`\\ :code:`
`For Linux VMs, the certificate file is
placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt
for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of
these files are .pem formatted.
@@ -1852,13 +1853,13 @@ def __init__(
as a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:paramtype certificate_url: str
:keyword certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
- in the LocalMachine account. :code:`
`:code:`
`For Linux VMs, the certificate file is
+ in the LocalMachine account. :code:`
`\\ :code:`
`For Linux VMs, the certificate file is
placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt
for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of
these files are .pem formatted.
@@ -1960,18 +1961,18 @@ class VirtualMachine(Resource):
:vartype os_profile: ~azure.mgmt.compute.v2016_03_30.models.OSProfile
:ivar network_profile: Specifies the network interfaces of the virtual machine.
:vartype network_profile: ~azure.mgmt.compute.v2016_03_30.models.NetworkProfile
- :ivar diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :ivar diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:vartype diagnostics_profile: ~azure.mgmt.compute.v2016_03_30.models.DiagnosticsProfile
:ivar availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:vartype availability_set: ~azure.mgmt.compute.v2016_03_30.models.SubResource
:ivar provisioning_state: The provisioning state, which only appears in the response.
@@ -1980,12 +1981,13 @@ class VirtualMachine(Resource):
:vartype instance_view: ~azure.mgmt.compute.v2016_03_30.models.VirtualMachineInstanceView
:ivar license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:vartype 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.
@@ -2061,28 +2063,29 @@ def __init__(
:paramtype os_profile: ~azure.mgmt.compute.v2016_03_30.models.OSProfile
:keyword network_profile: Specifies the network interfaces of the virtual machine.
:paramtype network_profile: ~azure.mgmt.compute.v2016_03_30.models.NetworkProfile
- :keyword diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :keyword diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:paramtype diagnostics_profile: ~azure.mgmt.compute.v2016_03_30.models.DiagnosticsProfile
:keyword availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:paramtype availability_set: ~azure.mgmt.compute.v2016_03_30.models.SubResource
:keyword license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:paramtype license_type: str
"""
super().__init__(location=location, tags=tags, **kwargs)
@@ -2812,9 +2815,9 @@ class VirtualMachineInstanceView(_serialization.Model):
:vartype extensions:
list[~azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView]
:ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:vartype boot_diagnostics: ~azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView
:ivar statuses: The resource status information.
:vartype statuses: list[~azure.mgmt.compute.v2016_03_30.models.InstanceViewStatus]
@@ -2859,9 +2862,9 @@ def __init__(
:paramtype extensions:
list[~azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView]
:keyword boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:paramtype boot_diagnostics: ~azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView
:keyword statuses: The resource status information.
:paramtype statuses: list[~azure.mgmt.compute.v2016_03_30.models.InstanceViewStatus]
@@ -3495,22 +3498,23 @@ class VirtualMachineScaleSetOSDisk(_serialization.Model):
:ivar name: The disk name. Required.
:vartype name: str
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2016_03_30.models.CachingTypes
- :ivar create_option: Specifies how the virtual machines in the scale set should be
- created.:code:`
`:code:`
` The only allowed value is: **FromImage** \\u2013 This value is
- used when you are using an image to create the virtual machine. If you are using a platform
- image, you also use the imageReference element described above. If you are using a marketplace
- image, you also use the plan element previously described. Required. Known values are:
- "FromImage", "Empty", and "Attach".
+ :ivar create_option: Specifies how the virtual machines in the scale set should be created.\\
+ :code:`
`\\ :code:`
` The only allowed value is: **FromImage** \\u2013 This value is used
+ when you are using an image to create the virtual machine. If you are using a platform image,
+ you also use the imageReference element described above. If you are using a marketplace image,
+ you also use the plan element previously described. Required. Known values are: "FromImage",
+ "Empty", and "Attach".
:vartype create_option: str or ~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:ivar os_type: This property allows you to specify the type of the OS that is included in the
- disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
` Possible
- values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**. Known
- values are: "Windows" and "Linux".
+ disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:vartype os_type: str or ~azure.mgmt.compute.v2016_03_30.models.OperatingSystemTypes
:ivar image: The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before
using it to attach to the Virtual Machine. If SourceImage is provided, the destination
@@ -3548,22 +3552,23 @@ def __init__(
"""
:keyword name: The disk name. Required.
:paramtype name: str
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2016_03_30.models.CachingTypes
:keyword create_option: Specifies how the virtual machines in the scale set should be
- created.:code:`
`:code:`
` The only allowed value is: **FromImage** \\u2013 This value is
- used when you are using an image to create the virtual machine. If you are using a platform
- image, you also use the imageReference element described above. If you are using a marketplace
- image, you also use the plan element previously described. Required. Known values are:
- "FromImage", "Empty", and "Attach".
+ created.\\ :code:`
`\\ :code:`
` The only allowed value is: **FromImage** \\u2013 This
+ value is used when you are using an image to create the virtual machine. If you are using a
+ platform image, you also use the imageReference element described above. If you are using a
+ marketplace image, you also use the plan element previously described. Required. Known values
+ are: "FromImage", "Empty", and "Attach".
:paramtype create_option: str or ~azure.mgmt.compute.v2016_03_30.models.DiskCreateOptionTypes
:keyword os_type: This property allows you to specify the type of the OS that is included in
- the disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
`
- Possible values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**.
- Known values are: "Windows" and "Linux".
+ the disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:paramtype os_type: str or ~azure.mgmt.compute.v2016_03_30.models.OperatingSystemTypes
:keyword image: The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied
before using it to attach to the Virtual Machine. If SourceImage is provided, the destination
@@ -3587,33 +3592,34 @@ class VirtualMachineScaleSetOSProfile(_serialization.Model):
:ivar computer_name_prefix: Specifies the computer name prefix for all of the virtual machines
in the scale set. Computer name prefixes must be 1 to 15 characters long.
:vartype computer_name_prefix: str
- :ivar admin_username: Specifies the name of the administrator account. :code:`
`:code:`
`
- **Windows-only restriction:** Cannot end in "." :code:`
`:code:`
` **Disallowed values:**
- "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1",
- "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest",
- "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2",
- "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length (Linux):** 1 character
- :code:`
`:code:`
` **Max-length (Linux):** 64 characters :code:`
`:code:`
`
- **Max-length (Windows):** 20 characters :code:`
`:code:`
`:code:`` For root access
- to the Linux VM, see `Using root privileges on Linux virtual machines in Azure
+ :ivar admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:vartype admin_username: str
- :ivar admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :ivar admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:vartype admin_password: str
@@ -3653,34 +3659,34 @@ def __init__(
:keyword computer_name_prefix: Specifies the computer name prefix for all of the virtual
machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
:paramtype computer_name_prefix: str
- :keyword admin_username: Specifies the name of the administrator account.
- :code:`
`:code:`
` **Windows-only restriction:** Cannot end in "."
- :code:`
`:code:`
` **Disallowed values:** "administrator", "admin", "user", "user1",
- "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2",
- "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql",
- "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
- :code:`
`:code:`
` **Minimum-length (Linux):** 1 character :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters :code:`
`:code:`
` **Max-length (Windows):** 20
- characters :code:`
`:code:`
`:code:`` For root access to the Linux VM, see `Using
- root privileges on Linux virtual machines in Azure
+ :keyword admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:paramtype admin_username: str
- :keyword admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :keyword admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:paramtype admin_password: str
@@ -3853,30 +3859,31 @@ class VirtualMachineScaleSetVM(Resource):
:vartype os_profile: ~azure.mgmt.compute.v2016_03_30.models.OSProfile
:ivar network_profile: Specifies the network interfaces of the virtual machine.
:vartype network_profile: ~azure.mgmt.compute.v2016_03_30.models.NetworkProfile
- :ivar diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :ivar diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:vartype diagnostics_profile: ~azure.mgmt.compute.v2016_03_30.models.DiagnosticsProfile
:ivar availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:vartype availability_set: ~azure.mgmt.compute.v2016_03_30.models.SubResource
:ivar provisioning_state: The provisioning state, which only appears in the response.
:vartype provisioning_state: str
:ivar license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:vartype license_type: str
"""
@@ -3951,28 +3958,29 @@ def __init__(
:paramtype os_profile: ~azure.mgmt.compute.v2016_03_30.models.OSProfile
:keyword network_profile: Specifies the network interfaces of the virtual machine.
:paramtype network_profile: ~azure.mgmt.compute.v2016_03_30.models.NetworkProfile
- :keyword diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :keyword diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:paramtype diagnostics_profile: ~azure.mgmt.compute.v2016_03_30.models.DiagnosticsProfile
:keyword availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:paramtype availability_set: ~azure.mgmt.compute.v2016_03_30.models.SubResource
:keyword license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:paramtype license_type: str
"""
super().__init__(location=location, tags=tags, **kwargs)
@@ -4089,9 +4097,9 @@ class VirtualMachineScaleSetVMInstanceView(_serialization.Model):
:vartype extensions:
list[~azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView]
:ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:vartype boot_diagnostics: ~azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView
:ivar statuses: The resource status information.
:vartype statuses: list[~azure.mgmt.compute.v2016_03_30.models.InstanceViewStatus]
@@ -4136,9 +4144,9 @@ def __init__(
:paramtype extensions:
list[~azure.mgmt.compute.v2016_03_30.models.VirtualMachineExtensionInstanceView]
:keyword boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:paramtype boot_diagnostics: ~azure.mgmt.compute.v2016_03_30.models.BootDiagnosticsInstanceView
:keyword statuses: The resource status information.
:paramtype statuses: list[~azure.mgmt.compute.v2016_03_30.models.InstanceViewStatus]
@@ -4358,7 +4366,7 @@ class WindowsConfiguration(_serialization.Model):
"""Specifies Windows operating system settings on the virtual machine.
:ivar provision_vm_agent: Indicates whether virtual machine agent should be provisioned on the
- virtual machine. :code:`
`:code:`
` When this property is not specified in the request
+ virtual machine. :code:`
`\\ :code:`
` When this property is not specified in the request
body, default behavior is to set it to true. This will ensure that VM Agent is installed on
the VM so that extensions can be added to the VM later.
:vartype provision_vm_agent: bool
@@ -4396,7 +4404,7 @@ def __init__(
) -> None:
"""
:keyword provision_vm_agent: Indicates whether virtual machine agent should be provisioned on
- the virtual machine. :code:`
`:code:`
` When this property is not specified in the
+ the virtual machine. :code:`
`\\ :code:`
` When this property is not specified in the
request body, default behavior is to set it to true. This will ensure that VM Agent is
installed on the VM so that extensions can be added to the VM later.
:paramtype provision_vm_agent: bool
@@ -4445,17 +4453,17 @@ def __init__(self, *, listeners: Optional[List["_models.WinRMListener"]] = None,
class WinRMListener(_serialization.Model):
"""Describes Protocol and thumbprint of Windows Remote Management listener.
- :ivar protocol: Specifies the protocol of listener. :code:`
`:code:`
` Possible values
- are: :code:`
`\\ **http** :code:`
`:code:`
` **https**. Known values are: "Http" and
- "Https".
+ :ivar protocol: Specifies the protocol of listener. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ **http** :code:`
`\\ :code:`
` **https**. Known values are: "Http"
+ and "Https".
:vartype protocol: str or ~azure.mgmt.compute.v2016_03_30.models.ProtocolTypes
:ivar certificate_url: This is the URL of a certificate that has been uploaded to Key Vault as
a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:vartype certificate_url: str
"""
@@ -4472,17 +4480,17 @@ def __init__(
**kwargs: Any
) -> None:
"""
- :keyword protocol: Specifies the protocol of listener. :code:`
`:code:`
` Possible values
- are: :code:`
`\\ **http** :code:`
`:code:`
` **https**. Known values are: "Http" and
- "Https".
+ :keyword protocol: Specifies the protocol of listener. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ **http** :code:`
`\\ :code:`
` **https**. Known values are:
+ "Http" and "Https".
:paramtype protocol: str or ~azure.mgmt.compute.v2016_03_30.models.ProtocolTypes
:keyword certificate_url: This is the URL of a certificate that has been uploaded to Key Vault
as a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:paramtype certificate_url: str
"""
super().__init__(**kwargs)
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/_compute_management_client_enums.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/_compute_management_client_enums.py
index d3d7377335dd..d4e7c7b4f4db 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/_compute_management_client_enums.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/_compute_management_client_enums.py
@@ -18,10 +18,10 @@ class AccessLevel(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class CachingTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the caching requirements. :code:`
`:code:`
` Possible values are:
- :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**.
+ """Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values are:
+ :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly** :code:`
`\\
+ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for Standard storage.
+ ReadOnly for Premium storage**.
"""
NONE = "None"
@@ -42,12 +42,13 @@ class DiskCreateOption(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class DiskCreateOptionTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies how the virtual machine should be created.:code:`
`:code:`
` Possible values
- are::code:`
`:code:`
` **Attach** \\u2013 This value is used when you are using a
- specialized disk to create the virtual machine.:code:`
`:code:`
` **FromImage** \\u2013
- This value is used when you are using an image to create the virtual machine. If you are using
- a platform image, you also use the imageReference element described above. If you are using a
- marketplace image, you also use the plan element previously described.
+ """Specifies how the virtual machine should be created.\\ :code:`
`\\ :code:`
` Possible
+ values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value is used when you are
+ using a specialized disk to create the virtual machine.\\ :code:`
`\\ :code:`
`
+ **FromImage** \\u2013 This value is used when you are using an image to create the virtual
+ machine. If you are using a platform image, you also use the imageReference element described
+ above. If you are using a marketplace image, you also use the plan element previously
+ described.
"""
FROM_IMAGE = "FromImage"
@@ -70,8 +71,8 @@ class OperatingSystemTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class ProtocolTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the protocol of listener. :code:`
`:code:`
` Possible values are:
- :code:`
`\\ **http** :code:`
`:code:`
` **https**.
+ """Specifies the protocol of listener. :code:`
`\\ :code:`
` Possible values are:
+ :code:`
`\\ **http** :code:`
`\\ :code:`
` **https**.
"""
HTTP = "Http"
@@ -105,11 +106,11 @@ class StorageAccountTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
class UpgradeMode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
- """Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control the application
- of updates to virtual machines in the scale set. You do this by using the manualUpgrade
- action.:code:`
`:code:`
` **Automatic** - All virtual machines in the scale set are
- automatically updated at the same time.
+ """Specifies the mode of an upgrade to virtual machines in the scale set.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Manual** - You control
+ the application of updates to virtual machines in the scale set. You do this by using the
+ manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** - All virtual machines in
+ the scale set are automatically updated at the same time.
"""
AUTOMATIC = "Automatic"
@@ -127,12 +128,12 @@ class VirtualMachineSizeTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the size of the virtual machine. For more information about virtual machine sizes,
see `Sizes for virtual machines
`_.
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set `_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_ :code:`
`:code:`
` `List all available virtual
- machine sizes for resizing `_.
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set `_
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes for resizing `_.
"""
BASIC_A0 = "Basic_A0"
diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/_models_py3.py
index 12853a378a78..ae8e00f742b0 100644
--- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/_models_py3.py
+++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview/models/_models_py3.py
@@ -270,10 +270,10 @@ class AvailabilitySet(Resource):
maximize availability. For more information about availability sets, see `Manage the
availability of virtual machines
`_.
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
Variables are only populated by the server, and will be ignored when sending a request.
@@ -402,9 +402,9 @@ def __init__(
class BootDiagnostics(_serialization.Model):
"""Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
- to diagnose VM status. :code:`
`:code:`
` You can easily view the output of your console
- log. :code:`
`:code:`
` Azure also enables you to see a screenshot of the VM from the
- hypervisor.
+ to diagnose VM status. :code:`
`\\ :code:`
` You can easily view the output of your
+ console log. :code:`
`\\ :code:`
` Azure also enables you to see a screenshot of the VM
+ from the hypervisor.
:ivar enabled: Whether boot diagnostics should be enabled on the Virtual Machine.
:vartype enabled: bool
@@ -568,23 +568,23 @@ class DataDisk(_serialization.Model):
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:vartype image: ~azure.mgmt.compute.v2016_04_30_preview.models.VirtualHardDisk
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2016_04_30_preview.models.CachingTypes
- :ivar create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :ivar create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:vartype create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:ivar disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be
- used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the size of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:vartype disk_size_gb: int
:ivar managed_disk: The managed disk parameters.
@@ -633,24 +633,24 @@ def __init__(
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:paramtype image: ~azure.mgmt.compute.v2016_04_30_preview.models.VirtualHardDisk
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2016_04_30_preview.models.CachingTypes
- :keyword create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :keyword create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:paramtype create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:keyword disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can
- be used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
- This value cannot be larger than 1023 GB.
+ be used to overwrite the size of the disk in a virtual machine image. :code:`
`\\
+ :code:`
` This value cannot be larger than 1023 GB.
:paramtype disk_size_gb: int
:keyword managed_disk: The managed disk parameters.
:paramtype managed_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.ManagedDiskParameters
@@ -691,13 +691,13 @@ def __init__(self, **kwargs: Any) -> None:
class DiagnosticsProfile(_serialization.Model):
- """Specifies the boot diagnostic settings state. :code:`
`:code:`
`Minimum api-version:
+ """Specifies the boot diagnostic settings state. :code:`
`\\ :code:`
`Minimum api-version:
2015-06-15.
:ivar boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:vartype boot_diagnostics: ~azure.mgmt.compute.v2016_04_30_preview.models.BootDiagnostics
"""
@@ -708,9 +708,9 @@ class DiagnosticsProfile(_serialization.Model):
def __init__(self, *, boot_diagnostics: Optional["_models.BootDiagnostics"] = None, **kwargs: Any) -> None:
"""
:keyword boot_diagnostics: Boot Diagnostics is a debugging feature which allows you to view
- Console Output and Screenshot to diagnose VM status. :code:`
`:code:`
` You can easily
- view the output of your console log. :code:`
`:code:`
` Azure also enables you to see a
- screenshot of the VM from the hypervisor.
+ Console Output and Screenshot to diagnose VM status. :code:`
`\\ :code:`
` You can easily
+ view the output of your console log. :code:`
`\\ :code:`
` Azure also enables you to see
+ a screenshot of the VM from the hypervisor.
:paramtype boot_diagnostics: ~azure.mgmt.compute.v2016_04_30_preview.models.BootDiagnostics
"""
super().__init__(**kwargs)
@@ -1121,13 +1121,13 @@ class HardwareProfile(_serialization.Model):
:ivar vm_size: Specifies the size of the virtual machine. For more information about virtual
machine sizes, see `Sizes for virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set `_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_ :code:`
`:code:`
` `List all available virtual
- machine sizes for resizing `_. Known values are:
- "Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0", "Standard_A1",
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set `_
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes for resizing `_. Known values
+ are: "Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0", "Standard_A1",
"Standard_A2", "Standard_A3", "Standard_A4", "Standard_A5", "Standard_A6", "Standard_A7",
"Standard_A8", "Standard_A9", "Standard_A10", "Standard_A11", "Standard_D1", "Standard_D2",
"Standard_D3", "Standard_D4", "Standard_D11", "Standard_D12", "Standard_D13", "Standard_D14",
@@ -1153,13 +1153,13 @@ def __init__(
:keyword vm_size: Specifies the size of the virtual machine. For more information about virtual
machine sizes, see `Sizes for virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` The available VM sizes depend on region and availability set. For a
- list of available sizes use these APIs: :code:`
`:code:`
` `List all available virtual
- machine sizes in an availability set `_
- :code:`
`:code:`
` `List all available virtual machine sizes in a region
- `_ :code:`
`:code:`
` `List all available virtual
- machine sizes for resizing `_. Known values are:
- "Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0", "Standard_A1",
+ :code:`
`\\ :code:`
` The available VM sizes depend on region and availability set. For a
+ list of available sizes use these APIs: :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes in an availability set `_
+ :code:`
`\\ :code:`
` `List all available virtual machine sizes in a region
+ `_ :code:`
`\\ :code:`
` `List all available
+ virtual machine sizes for resizing `_. Known values
+ are: "Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0", "Standard_A1",
"Standard_A2", "Standard_A3", "Standard_A4", "Standard_A5", "Standard_A6", "Standard_A7",
"Standard_A8", "Standard_A9", "Standard_A10", "Standard_A11", "Standard_D1", "Standard_D2",
"Standard_D3", "Standard_D4", "Standard_D11", "Standard_D12", "Standard_D13", "Standard_D14",
@@ -1264,13 +1264,14 @@ class ImageDataDisk(_serialization.Model):
:vartype managed_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.SubResource
:ivar blob_uri: The Virtual Hard Disk.
:vartype blob_uri: str
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2016_04_30_preview.models.CachingTypes
:ivar disk_size_gb: Specifies the size of empty data disks in gigabytes. This element can be
- used to overwrite the name of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the name of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:vartype disk_size_gb: int
"""
@@ -1310,13 +1311,14 @@ def __init__(
:paramtype managed_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.SubResource
:keyword blob_uri: The Virtual Hard Disk.
:paramtype blob_uri: str
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2016_04_30_preview.models.CachingTypes
:keyword disk_size_gb: Specifies the size of empty data disks in gigabytes. This element can be
- used to overwrite the name of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the name of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:paramtype disk_size_gb: int
"""
@@ -1407,9 +1409,9 @@ class ImageOSDisk(_serialization.Model):
All required parameters must be populated in order to send to server.
:ivar os_type: This property allows you to specify the type of the OS that is included in the
- disk if creating a VM from a custom image. :code:`
`:code:`
` Possible values are:
- :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**. Required. Known values
- are: "Windows" and "Linux".
+ disk if creating a VM from a custom image. :code:`
`\\ :code:`
` Possible values are:
+ :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
` **Linux**. Required. Known
+ values are: "Windows" and "Linux".
:vartype os_type: str or ~azure.mgmt.compute.v2016_04_30_preview.models.OperatingSystemTypes
:ivar os_state: The OS State. Required. Known values are: "Generalized" and "Specialized".
:vartype os_state: str or
@@ -1420,13 +1422,14 @@ class ImageOSDisk(_serialization.Model):
:vartype managed_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.SubResource
:ivar blob_uri: The Virtual Hard Disk.
:vartype blob_uri: str
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2016_04_30_preview.models.CachingTypes
:ivar disk_size_gb: Specifies the size of empty data disks in gigabytes. This element can be
- used to overwrite the name of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the name of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:vartype disk_size_gb: int
"""
@@ -1460,9 +1463,9 @@ def __init__(
) -> None:
"""
:keyword os_type: This property allows you to specify the type of the OS that is included in
- the disk if creating a VM from a custom image. :code:`
`:code:`
` Possible values are:
- :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**. Required. Known values
- are: "Windows" and "Linux".
+ the disk if creating a VM from a custom image. :code:`
`\\ :code:`
` Possible values are:
+ :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
` **Linux**. Required. Known
+ values are: "Windows" and "Linux".
:paramtype os_type: str or ~azure.mgmt.compute.v2016_04_30_preview.models.OperatingSystemTypes
:keyword os_state: The OS State. Required. Known values are: "Generalized" and "Specialized".
:paramtype os_state: str or
@@ -1473,13 +1476,14 @@ def __init__(
:paramtype managed_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.SubResource
:keyword blob_uri: The Virtual Hard Disk.
:paramtype blob_uri: str
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2016_04_30_preview.models.CachingTypes
:keyword disk_size_gb: Specifies the size of empty data disks in gigabytes. This element can be
- used to overwrite the name of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the name of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:paramtype disk_size_gb: int
"""
@@ -1584,14 +1588,14 @@ class ImageStorageProfile(_serialization.Model):
All required parameters must be populated in order to send to server.
:ivar os_disk: Specifies information about the operating system disk used by the virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
Required.
:vartype os_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.ImageOSDisk
:ivar data_disks: Specifies the parameters that are used to add a data disk to a virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:vartype data_disks: list[~azure.mgmt.compute.v2016_04_30_preview.models.ImageDataDisk]
"""
@@ -1614,14 +1618,14 @@ def __init__(
) -> None:
"""
:keyword os_disk: Specifies information about the operating system disk used by the virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
Required.
:paramtype os_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.ImageOSDisk
:keyword data_disks: Specifies the parameters that are used to add a data disk to a virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:paramtype data_disks: list[~azure.mgmt.compute.v2016_04_30_preview.models.ImageDataDisk]
"""
@@ -1845,11 +1849,11 @@ def __init__(self, *, secret_url: str, source_vault: "_models.SubResource", **kw
class LinuxConfiguration(_serialization.Model):
- """Specifies the Linux operating system settings on the virtual machine.
- :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
- Azure-Endorsed Distributions
+ """Specifies the Linux operating system settings on the virtual machine. :code:`
`\\
+ :code:`
`For a list of supported Linux distributions, see `Linux on Azure-Endorsed
+ Distributions
`_
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_.
@@ -2058,19 +2062,19 @@ def __init__(self, **kwargs: Any) -> None:
class OSDisk(_serialization.Model):
"""Specifies information about the operating system disk used by the virtual machine.
- :code:`
`:code:`
` For more information about disks, see `About disks and VHDs for Azure
- virtual machines
+ :code:`
`\\ :code:`
` For more information about disks, see `About disks and VHDs for
+ Azure virtual machines
`_.
All required parameters must be populated in order to send to server.
:ivar os_type: This property allows you to specify the type of the OS that is included in the
- disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
` Possible
- values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**. Known
- values are: "Windows" and "Linux".
+ disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:vartype os_type: str or ~azure.mgmt.compute.v2016_04_30_preview.models.OperatingSystemTypes
- :ivar encryption_settings: Specifies the encryption settings for the OS Disk.
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :ivar encryption_settings: Specifies the encryption settings for the OS Disk. :code:`
`\\
+ :code:`
` Minimum api-version: 2015-06-15.
:vartype encryption_settings:
~azure.mgmt.compute.v2016_04_30_preview.models.DiskEncryptionSettings
:ivar name: The disk name.
@@ -2081,23 +2085,23 @@ class OSDisk(_serialization.Model):
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:vartype image: ~azure.mgmt.compute.v2016_04_30_preview.models.VirtualHardDisk
- :ivar caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :ivar caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible values
+ are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:vartype caching: str or ~azure.mgmt.compute.v2016_04_30_preview.models.CachingTypes
- :ivar create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :ivar create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:vartype create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:ivar disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can be
- used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
+ used to overwrite the size of the disk in a virtual machine image. :code:`
`\\ :code:`
`
This value cannot be larger than 1023 GB.
:vartype disk_size_gb: int
:ivar managed_disk: The managed disk parameters.
@@ -2136,12 +2140,12 @@ def __init__(
) -> None:
"""
:keyword os_type: This property allows you to specify the type of the OS that is included in
- the disk if creating a VM from user-image or a specialized VHD. :code:`
`:code:`
`
- Possible values are: :code:`
`:code:`
` **Windows** :code:`
`:code:`
` **Linux**.
- Known values are: "Windows" and "Linux".
+ the disk if creating a VM from user-image or a specialized VHD. :code:`
`\\ :code:`
`
+ Possible values are: :code:`
`\\ :code:`
` **Windows** :code:`
`\\ :code:`
`
+ **Linux**. Known values are: "Windows" and "Linux".
:paramtype os_type: str or ~azure.mgmt.compute.v2016_04_30_preview.models.OperatingSystemTypes
- :keyword encryption_settings: Specifies the encryption settings for the OS Disk.
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :keyword encryption_settings: Specifies the encryption settings for the OS Disk. :code:`
`\\
+ :code:`
` Minimum api-version: 2015-06-15.
:paramtype encryption_settings:
~azure.mgmt.compute.v2016_04_30_preview.models.DiskEncryptionSettings
:keyword name: The disk name.
@@ -2152,24 +2156,24 @@ def __init__(
before being attached to the virtual machine. If SourceImage is provided, the destination
virtual hard drive must not exist.
:paramtype image: ~azure.mgmt.compute.v2016_04_30_preview.models.VirtualHardDisk
- :keyword caching: Specifies the caching requirements. :code:`
`:code:`
` Possible values
- are: :code:`
`:code:`
` **None** :code:`
`:code:`
` **ReadOnly**
- :code:`
`:code:`
` **ReadWrite** :code:`
`:code:`
` Default: **None for Standard
- storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and "ReadWrite".
+ :keyword caching: Specifies the caching requirements. :code:`
`\\ :code:`
` Possible
+ values are: :code:`
`\\ :code:`
` **None** :code:`
`\\ :code:`
` **ReadOnly**
+ :code:`
`\\ :code:`
` **ReadWrite** :code:`
`\\ :code:`
` Default: **None for
+ Standard storage. ReadOnly for Premium storage**. Known values are: "None", "ReadOnly", and
+ "ReadWrite".
:paramtype caching: str or ~azure.mgmt.compute.v2016_04_30_preview.models.CachingTypes
- :keyword create_option: Specifies how the virtual machine should be
- created.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Attach**
- \\u2013 This value is used when you are using a specialized disk to create the virtual
- machine.:code:`
`:code:`
` **FromImage** \\u2013 This value is used when you are using an
- image to create the virtual machine. If you are using a platform image, you also use the
- imageReference element described above. If you are using a marketplace image, you also use the
- plan element previously described. Required. Known values are: "FromImage", "Empty", and
- "Attach".
+ :keyword create_option: Specifies how the virtual machine should be created.\\ :code:`
`\\
+ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Attach** \\u2013 This value
+ is used when you are using a specialized disk to create the virtual machine.\\ :code:`
`\\
+ :code:`
` **FromImage** \\u2013 This value is used when you are using an image to create the
+ virtual machine. If you are using a platform image, you also use the imageReference element
+ described above. If you are using a marketplace image, you also use the plan element
+ previously described. Required. Known values are: "FromImage", "Empty", and "Attach".
:paramtype create_option: str or
~azure.mgmt.compute.v2016_04_30_preview.models.DiskCreateOptionTypes
:keyword disk_size_gb: Specifies the size of an empty data disk in gigabytes. This element can
- be used to overwrite the size of the disk in a virtual machine image. :code:`
`:code:`
`
- This value cannot be larger than 1023 GB.
+ be used to overwrite the size of the disk in a virtual machine image. :code:`
`\\
+ :code:`
` This value cannot be larger than 1023 GB.
:paramtype disk_size_gb: int
:keyword managed_disk: The managed disk parameters.
:paramtype managed_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.ManagedDiskParameters
@@ -2219,46 +2223,47 @@ def __init__(self, *, operating_system: Union[str, "_models.OperatingSystemTypes
class OSProfile(_serialization.Model):
"""Specifies the operating system settings for the virtual machine.
- :ivar computer_name: Specifies the host OS name of the virtual machine.
- :code:`
`:code:`
` This name cannot be updated after the VM is created.
- :code:`
`:code:`
` **Max-length (Windows):** 15 characters :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters. :code:`
`:code:`
` For naming conventions and
- restrictions see `Azure infrastructure services implementation guidelines
+ :ivar computer_name: Specifies the host OS name of the virtual machine. :code:`
`\\
+ :code:`
` This name cannot be updated after the VM is created. :code:`
`\\ :code:`
`
+ **Max-length (Windows):** 15 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 64
+ characters. :code:`
`\\ :code:`
` For naming conventions and restrictions see `Azure
+ infrastructure services implementation guidelines
`_. # pylint: disable=line-too-long
:vartype computer_name: str
- :ivar admin_username: Specifies the name of the administrator account. :code:`
`:code:`
`
- **Windows-only restriction:** Cannot end in "." :code:`
`:code:`
` **Disallowed values:**
- "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1",
- "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest",
- "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2",
- "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length (Linux):** 1 character
- :code:`
`:code:`
` **Max-length (Linux):** 64 characters :code:`
`:code:`
`
- **Max-length (Windows):** 20 characters :code:`
`:code:`
`:code:`` For root access
- to the Linux VM, see `Using root privileges on Linux virtual machines in Azure
+ :ivar admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:vartype admin_username: str
- :ivar admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :ivar admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:vartype admin_password: str
:ivar custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded
string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum
- length of the binary array is 65535 bytes. :code:`
`:code:`
` For using cloud-init for
+ length of the binary array is 65535 bytes. :code:`
`\\ :code:`
` For using cloud-init for
your VM, see `Using cloud-init to customize a Linux VM during creation
`_. # pylint: disable=line-too-long
:vartype custom_data: str
@@ -2267,10 +2272,10 @@ class OSProfile(_serialization.Model):
:vartype windows_configuration:
~azure.mgmt.compute.v2016_04_30_preview.models.WindowsConfiguration
:ivar linux_configuration: Specifies the Linux operating system settings on the virtual
- machine. :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
+ machine. :code:`
`\\ :code:`
`For a list of supported Linux distributions, see `Linux on
Azure-Endorsed Distributions
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_. # pylint: disable=line-too-long
:vartype linux_configuration: ~azure.mgmt.compute.v2016_04_30_preview.models.LinuxConfiguration
@@ -2301,47 +2306,47 @@ def __init__(
**kwargs: Any
) -> None:
"""
- :keyword computer_name: Specifies the host OS name of the virtual machine.
- :code:`
`:code:`
` This name cannot be updated after the VM is created.
- :code:`
`:code:`
` **Max-length (Windows):** 15 characters :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters. :code:`
`:code:`
` For naming conventions and
- restrictions see `Azure infrastructure services implementation guidelines
+ :keyword computer_name: Specifies the host OS name of the virtual machine. :code:`
`\\
+ :code:`
` This name cannot be updated after the VM is created. :code:`
`\\ :code:`
`
+ **Max-length (Windows):** 15 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 64
+ characters. :code:`
`\\ :code:`
` For naming conventions and restrictions see `Azure
+ infrastructure services implementation guidelines
`_. # pylint: disable=line-too-long
:paramtype computer_name: str
- :keyword admin_username: Specifies the name of the administrator account.
- :code:`
`:code:`
` **Windows-only restriction:** Cannot end in "."
- :code:`
`:code:`
` **Disallowed values:** "administrator", "admin", "user", "user1",
- "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2",
- "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql",
- "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
- :code:`
`:code:`
` **Minimum-length (Linux):** 1 character :code:`
`:code:`
`
- **Max-length (Linux):** 64 characters :code:`
`:code:`
` **Max-length (Windows):** 20
- characters :code:`
`:code:`
`:code:`` For root access to the Linux VM, see `Using
- root privileges on Linux virtual machines in Azure
+ :keyword admin_username: Specifies the name of the administrator account. :code:`
`\\
+ :code:`
` **Windows-only restriction:** Cannot end in "." :code:`
`\\ :code:`
`
+ **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1",
+ "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console",
+ "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0",
+ "sys", "test2", "test3", "user4", "user5". :code:`
`\\ :code:`
` **Minimum-length
+ (Linux):** 1 character :code:`
`\\ :code:`
` **Max-length (Linux):** 64 characters
+ :code:`
`\\ :code:`
` **Max-length (Windows):** 20 characters :code:`
`\\
+ :code:`
`\\ :code:`` For root access to the Linux VM, see `Using root privileges on
+ Linux virtual machines in Azure
`_\\ # pylint: disable=line-too-long
- :code:`
`:code:`` For a list of built-in system users on Linux that should not be used
- in this field, see `Selecting User Names for Linux on Azure
+ :code:`
`\\ :code:`` For a list of built-in system users on Linux that should not be
+ used in this field, see `Selecting User Names for Linux on Azure
`_. # pylint: disable=line-too-long
:paramtype admin_username: str
- :keyword admin_password: Specifies the password of the administrator account.
- :code:`
`:code:`
` **Minimum-length (Windows):** 8 characters :code:`
`:code:`
`
- **Minimum-length (Linux):** 6 characters :code:`
`:code:`
` **Max-length (Windows):** 123
- characters :code:`
`:code:`
` **Max-length (Linux):** 72 characters
- :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be
- fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a
- digit :code:`
` Has a special character (Regex match [\\W_]) :code:`
`:code:`
`
+ :keyword admin_password: Specifies the password of the administrator account. :code:`
`\\
+ :code:`
` **Minimum-length (Windows):** 8 characters :code:`
`\\ :code:`
`
+ **Minimum-length (Linux):** 6 characters :code:`
`\\ :code:`
` **Max-length (Windows):**
+ 123 characters :code:`
`\\ :code:`
` **Max-length (Linux):** 72 characters :code:`
`\\
+ :code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
+ :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit
+ :code:`
` Has a special character (Regex match [\\W_]) :code:`
`\\ :code:`
`
**Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word",
- "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`:code:`
` For
- resetting the password, see `How to reset the Remote Desktop service or its login password in a
- Windows VM
+ "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" :code:`
`\\ :code:`
`
+ For resetting the password, see `How to reset the Remote Desktop service or its login password
+ in a Windows VM
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For resetting root password, see `Manage users, SSH, and check or
+ :code:`
`\\ :code:`
` For resetting root password, see `Manage users, SSH, and check or
repair disks on Azure Linux VMs using the VMAccess Extension
`_. # pylint: disable=line-too-long
:paramtype admin_password: str
:keyword custom_data: Specifies a base-64 encoded string of custom data. The base-64 encoded
string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum
- length of the binary array is 65535 bytes. :code:`
`:code:`
` For using cloud-init for
+ length of the binary array is 65535 bytes. :code:`
`\\ :code:`
` For using cloud-init for
your VM, see `Using cloud-init to customize a Linux VM during creation
`_. # pylint: disable=line-too-long
:paramtype custom_data: str
@@ -2350,10 +2355,10 @@ def __init__(
:paramtype windows_configuration:
~azure.mgmt.compute.v2016_04_30_preview.models.WindowsConfiguration
:keyword linux_configuration: Specifies the Linux operating system settings on the virtual
- machine. :code:`
`:code:`
`For a list of supported Linux distributions, see `Linux on
+ machine. :code:`
`\\ :code:`
`For a list of supported Linux distributions, see `Linux on
Azure-Endorsed Distributions
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` For running non-endorsed distributions, see `Information for
+ :code:`
`\\ :code:`
` For running non-endorsed distributions, see `Information for
Non-Endorsed Distributions
`_. # pylint: disable=line-too-long
:paramtype linux_configuration:
@@ -2471,9 +2476,9 @@ class Sku(_serialization.Model):
:ivar name: The sku name.
:vartype name: str
- :ivar tier: Specifies the tier of virtual machines in a scale set.:code:`
`:code:`
`
- Possible Values::code:`
`:code:`
` **Standard**\\ :code:`
`:code:`
`
- **Basic**.
+ :ivar tier: Specifies the tier of virtual machines in a scale set.\\ :code:`
`\\
+ :code:`
` Possible Values:\\ :code:`
`\\ :code:`
` **Standard**\\ :code:`
`\\ :code:`
` **Basic**.
:vartype tier: str
:ivar capacity: Specifies the number of virtual machines in the scale set.
:vartype capacity: int
@@ -2491,9 +2496,9 @@ def __init__(
"""
:keyword name: The sku name.
:paramtype name: str
- :keyword tier: Specifies the tier of virtual machines in a scale set.:code:`
`:code:`
` Possible Values::code:`
`:code:`
` **Standard**\\ :code:`
`:code:`
`
- **Basic**.
+ :keyword tier: Specifies the tier of virtual machines in a scale set.\\ :code:`
`\\
+ :code:`
` Possible Values:\\ :code:`
`\\ :code:`
` **Standard**\\ :code:`
`\\ :code:`
` **Basic**.
:paramtype tier: str
:keyword capacity: Specifies the number of virtual machines in the scale set.
:paramtype capacity: int
@@ -2773,8 +2778,8 @@ class SshPublicKey(_serialization.Model):
/home/user/.ssh/authorized_keys.
:vartype path: str
:ivar key_data: SSH public key certificate used to authenticate with the VM through ssh. The
- key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`:code:`
` For creating
- ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
+ key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`\\ :code:`
` For
+ creating ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
`_. # pylint: disable=line-too-long
:vartype key_data: str
"""
@@ -2791,8 +2796,8 @@ def __init__(self, *, path: Optional[str] = None, key_data: Optional[str] = None
/home/user/.ssh/authorized_keys.
:paramtype path: str
:keyword key_data: SSH public key certificate used to authenticate with the VM through ssh. The
- key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`:code:`
` For creating
- ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
+ key needs to be at least 2048-bit and in ssh-rsa format. :code:`
`\\ :code:`
` For
+ creating ssh keys, see `Create SSH keys on Linux and Mac for Linux VMs in Azure
`_. # pylint: disable=line-too-long
:paramtype key_data: str
"""
@@ -2810,13 +2815,13 @@ class StorageProfile(_serialization.Model):
but is not used in other creation operations.
:vartype image_reference: ~azure.mgmt.compute.v2016_04_30_preview.models.ImageReference
:ivar os_disk: Specifies information about the operating system disk used by the virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:vartype os_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.OSDisk
:ivar data_disks: Specifies the parameters that are used to add a data disk to a virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:vartype data_disks: list[~azure.mgmt.compute.v2016_04_30_preview.models.DataDisk]
"""
@@ -2842,13 +2847,13 @@ def __init__(
but is not used in other creation operations.
:paramtype image_reference: ~azure.mgmt.compute.v2016_04_30_preview.models.ImageReference
:keyword os_disk: Specifies information about the operating system disk used by the virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:paramtype os_disk: ~azure.mgmt.compute.v2016_04_30_preview.models.OSDisk
:keyword data_disks: Specifies the parameters that are used to add a data disk to a virtual
- machine. :code:`
`:code:`
` For more information about disks, see `About disks and VHDs
- for Azure virtual machines
+ machine. :code:`
`\\ :code:`
` For more information about disks, see `About disks and
+ VHDs for Azure virtual machines
`_. # pylint: disable=line-too-long
:paramtype data_disks: list[~azure.mgmt.compute.v2016_04_30_preview.models.DataDisk]
"""
@@ -2904,12 +2909,12 @@ def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> N
class UpgradePolicy(_serialization.Model):
"""Describes an upgrade policy - automatic or manual.
- :ivar mode: Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control
- the application of updates to virtual machines in the scale set. You do this by using the
- manualUpgrade action.:code:`
`:code:`
` **Automatic** - All virtual machines in the
- scale set are automatically updated at the same time. Known values are: "Automatic" and
- "Manual".
+ :ivar mode: Specifies the mode of an upgrade to virtual machines in the scale set.\\ :code:`
`\\ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
` **Manual** - You
+ control the application of updates to virtual machines in the scale set. You do this by using
+ the manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** - All virtual
+ machines in the scale set are automatically updated at the same time. Known values are:
+ "Automatic" and "Manual".
:vartype mode: str or ~azure.mgmt.compute.v2016_04_30_preview.models.UpgradeMode
"""
@@ -2919,12 +2924,12 @@ class UpgradePolicy(_serialization.Model):
def __init__(self, *, mode: Optional[Union[str, "_models.UpgradeMode"]] = None, **kwargs: Any) -> None:
"""
- :keyword mode: Specifies the mode of an upgrade to virtual machines in the scale set.:code:`
`:code:`
` Possible values are::code:`
`:code:`
` **Manual** - You control
- the application of updates to virtual machines in the scale set. You do this by using the
- manualUpgrade action.:code:`
`:code:`
` **Automatic** - All virtual machines in the
- scale set are automatically updated at the same time. Known values are: "Automatic" and
- "Manual".
+ :keyword mode: Specifies the mode of an upgrade to virtual machines in the scale set.\\
+ :code:`
`\\ :code:`
` Possible values are:\\ :code:`
`\\ :code:`
`
+ **Manual** - You control the application of updates to virtual machines in the scale set. You
+ do this by using the manualUpgrade action.\\ :code:`
`\\ :code:`
` **Automatic** -
+ All virtual machines in the scale set are automatically updated at the same time. Known values
+ are: "Automatic" and "Manual".
:paramtype mode: str or ~azure.mgmt.compute.v2016_04_30_preview.models.UpgradeMode
"""
super().__init__(**kwargs)
@@ -3014,13 +3019,13 @@ class VaultCertificate(_serialization.Model):
a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:vartype certificate_url: str
:ivar certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
- in the LocalMachine account. :code:`
`:code:`
`For Linux VMs, the certificate file is
+ in the LocalMachine account. :code:`
`\\ :code:`
`For Linux VMs, the certificate file is
placed under the /var/lib/waagent directory, with the file name
:code:``.crt for the X509 certificate file and
:code:``.prv for private key. Both of these files are .pem formatted.
@@ -3040,13 +3045,13 @@ def __init__(
as a secret. For adding a secret to the Key Vault, see `Add a key or secret to the key vault
`_. In this case, your
certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded
- in UTF-8: :code:`
`:code:`
` {:code:`
`
- "data":":code:``",:code:`
` "dataType":"pfx",:code:`
`
- "password":":code:``":code:`
`}.
+ in UTF-8: :code:`
`\\ :code:`
` {\\ :code:`
` "data":"\\
+ :code:``",\\ :code:`
` "dataType":"pfx",\\ :code:`
`
+ "password":"\\ :code:``"\\ :code:`
`}.
:paramtype certificate_url: str
:keyword certificate_store: For Windows VMs, specifies the certificate store on the Virtual
Machine to which the certificate should be added. The specified certificate store is implicitly
- in the LocalMachine account. :code:`
`:code:`
`For Linux VMs, the certificate file is
+ in the LocalMachine account. :code:`
`\\ :code:`
`For Linux VMs, the certificate file is
placed under the /var/lib/waagent directory, with the file name
:code:``.crt for the X509 certificate file and
:code:``.prv for private key. Both of these files are .pem formatted.
@@ -3151,18 +3156,18 @@ class VirtualMachine(Resource):
:vartype os_profile: ~azure.mgmt.compute.v2016_04_30_preview.models.OSProfile
:ivar network_profile: Specifies the network interfaces of the virtual machine.
:vartype network_profile: ~azure.mgmt.compute.v2016_04_30_preview.models.NetworkProfile
- :ivar diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :ivar diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:vartype diagnostics_profile: ~azure.mgmt.compute.v2016_04_30_preview.models.DiagnosticsProfile
:ivar availability_set: Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`
`:code:`
` For more information on Azure planned maintenance, see `Planned
+ :code:`
`\\ :code:`
` For more information on Azure planned maintenance, see `Planned
maintenance for virtual machines in Azure
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Currently, a VM can only be added to availability set at creation
+ :code:`
`\\ :code:`
` Currently, a VM can only be added to availability set at creation
time. An existing VM cannot be added to an availability set.
:vartype availability_set: ~azure.mgmt.compute.v2016_04_30_preview.models.SubResource
:ivar provisioning_state: The provisioning state, which only appears in the response.
@@ -3172,12 +3177,13 @@ class VirtualMachine(Resource):
~azure.mgmt.compute.v2016_04_30_preview.models.VirtualMachineInstanceView
:ivar license_type: Specifies that the image or disk that is being used was licensed
on-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
+ 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
`_ # pylint: disable=line-too-long
- :code:`
`:code:`
` Minimum api-version: 2015-06-15.
+ :code:`
`\\ :code:`
` Minimum api-version: 2015-06-15.
:vartype 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.
@@ -3253,8 +3259,8 @@ def __init__(
:paramtype os_profile: ~azure.mgmt.compute.v2016_04_30_preview.models.OSProfile
:keyword network_profile: Specifies the network interfaces of the virtual machine.
:paramtype network_profile: ~azure.mgmt.compute.v2016_04_30_preview.models.NetworkProfile
- :keyword diagnostics_profile: Specifies the boot diagnostic settings state.
- :code:`
`:code:`
`Minimum api-version: 2015-06-15.
+ :keyword diagnostics_profile: Specifies the boot diagnostic settings state. :code:`
`\\
+ :code:`
`Minimum api-version: 2015-06-15.
:paramtype diagnostics_profile:
~azure.mgmt.compute.v2016_04_30_preview.models.DiagnosticsProfile
:keyword availability_set: Specifies information about the availability set that the virtual
@@ -3262,20 +3268,21 @@ def __init__(
allocated to different nodes to maximize availability. For more information about availability
sets, see `Manage the availability of virtual machines
`_. # pylint: disable=line-too-long
- :code:`