Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"autorest": "1.2.2", "date": "2017-08-23T22:51:39Z", "version": ""}
{"autorest": "1.2.2", "date": "2017-08-24T01:30:50Z", "version": ""}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"autorest": "1.2.2", "date": "2017-08-23T22:51:51Z", "version": ""}
{"autorest": "1.2.2", "date": "2017-08-24T01:31:02Z", "version": ""}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"autorest": "1.2.2", "date": "2017-08-23T22:52:05Z", "version": ""}
{"autorest": "1.2.2", "date": "2017-08-24T01:31:17Z", "version": ""}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"autorest": "1.2.2", "date": "2017-08-23T22:52:23Z", "version": ""}
{"autorest": "1.2.2", "date": "2017-08-24T01:31:35Z", "version": ""}
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@


class AdditionalUnattendContent(Model):
"""Additional XML formatted information that can be included in the
"""Specifies additional XML formatted information that can be included in the
Unattend.xml file, which is used by Windows Setup. Contents are defined by
setting name, component name, and the pass in which the content is a
applied.
setting name, component name, and the pass in which the content is applied.

:param pass_name: The pass name. Currently, the only allowable value is
oobeSystem. Possible values include: 'oobeSystem'
Expand All @@ -27,14 +26,15 @@ class AdditionalUnattendContent(Model):
'Microsoft-Windows-Shell-Setup'
:type component_name: str or :class:`ComponentNames
<azure.mgmt.compute.compute.v2017_03_30.models.ComponentNames>`
:param setting_name: Setting name (e.g. FirstLogonCommands, AutoLogon ).
:param setting_name: Specifies the name of the setting to which the
content applies. Possible values are: FirstLogonCommands and AutoLogon.
Possible values include: 'AutoLogon', 'FirstLogonCommands'
:type setting_name: str or :class:`SettingNames
<azure.mgmt.compute.compute.v2017_03_30.models.SettingNames>`
:param content: XML formatted content that is added to the unattend.xml
file in the specified pass and component. The XML must be less than 4 KB
and must include the root element for the setting or feature that is being
inserted.
:param content: Specifies the XML formatted content that is added to the
unattend.xml file for the specified path and component. The XML must be
less than 4KB and must include the root element for the setting or feature
that is being inserted.
:type content: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@


class AvailabilitySet(Resource):
"""Create or update availability set parameters.
"""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](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
<br><br> For more information on Azure planned maintainance, see [Planned
maintenance for virtual machines in
Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
<br><br> 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@


class BootDiagnostics(Model):
"""Describes Boot Diagnostics.
"""Boot Diagnostics is a debugging feature which allows you to view Console
Output and Screenshot to diagnose VM status. <br><br> For Linux Virtual
Machines, you can easily view the output of your console log. <br><br> For
both Windows and Linux virtual machines, Azure also enables you to see a
screenshot of the VM from the hypervisor.

:param enabled: Whether boot diagnostics should be enabled on the Virtual
Machine.
:type enabled: bool
:param storage_uri: URI of the storage account to use for placing the
:param storage_uri: Uri of the storage account to use for placing the
console output and screenshot.
:type storage_uri: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,40 @@
class DataDisk(Model):
"""Describes a data disk.

:param lun: The logical unit number.
:param lun: Specifies the logical unit number of the data disk. This value
is used to identify data disks within the VM and therefore must be unique
for each data disk attached to a VM.
:type lun: int
:param name: The disk name.
:type name: str
:param vhd: The virtual hard disk.
:param vhd: The virtual hard disk..
:type vhd: :class:`VirtualHardDisk
<azure.mgmt.compute.compute.v2017_03_30.models.VirtualHardDisk>`
:param image: The source user image virtual hard disk. This virtual hard
disk will be copied before using it to attach to the virtual machine. If
SourceImage is provided, the destination virtual hard disk must not exist.
:param image: The source user image virtual hard disk. The virtual hard
disk will be copied before being attached to the virtual machine. If
SourceImage is provided, the destination virtual hard drive must not
exist.
:type image: :class:`VirtualHardDisk
<azure.mgmt.compute.compute.v2017_03_30.models.VirtualHardDisk>`
:param caching: The caching type. Possible values include: 'None',
'ReadOnly', 'ReadWrite'
:param caching: Specifies the caching requirements. <br><br> Possible
values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite**
<br><br> Default: **None for Standard storage. ReadOnly for Premium
storage**. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
:type caching: str or :class:`CachingTypes
<azure.mgmt.compute.compute.v2017_03_30.models.CachingTypes>`
:param create_option: The create option. Possible values include:
'fromImage', 'empty', 'attach'
:param create_option: Specifies how the virtual machine should be
created.<br><br> Possible values are:<br><br> **Attach** \\u2013 This
value is used when you are using a specialized disk to create the virtual
machine.<br><br> **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. Possible values include: 'fromImage', 'empty', 'attach'
:type create_option: str or :class:`DiskCreateOptionTypes
<azure.mgmt.compute.compute.v2017_03_30.models.DiskCreateOptionTypes>`
:param disk_size_gb: The initial disk size in GB for blank data disks, and
the new desired size for resizing existing OS and data disks.
:param disk_size_gb: Specifies the size of an empty data disk in
gigabytes. This element can be used to overwrite the name of the disk in a
virtual machine image. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param managed_disk: The managed disk parameters.
:type managed_disk: :class:`ManagedDiskParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class DataDiskImage(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar lun: The LUN number for a data disk. This value is used to identify
data disk image inside the VMImage and therefore it must be unique for
each data disk.
:ivar lun: Specifies the logical unit number of the data disk. This value
is used to identify data disks within the VM and therefore must be unique
for each data disk attached to a VM.
:vartype lun: int
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@


class DiagnosticsProfile(Model):
"""Describes a diagnostics profile.
"""Specifies the boot diagnostic settings state. <br><br>Minimum api-version:
2015-06-15.

:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows the user to view console output and/or a screenshot of the virtual
machine from the hypervisor.
allows you to view Console Output and Screenshot to diagnose VM status.
<br><br> For Linux Virtual Machines, you can easily view the output of
your console log. <br><br> For both Windows and Linux virtual machines,
Azure also enables you to see a screenshot of the VM from the hypervisor.
:type boot_diagnostics: :class:`BootDiagnostics
<azure.mgmt.compute.compute.v2017_03_30.models.BootDiagnostics>`
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
class DiskEncryptionSettings(Model):
"""Describes a Encryption Settings for a Disk.

:param disk_encryption_key: The disk encryption key which is a Key Vault
Secret.
:param disk_encryption_key: Specifies the location of the disk encryption
key, which is a Key Vault Secret.
:type disk_encryption_key: :class:`KeyVaultSecretReference
<azure.mgmt.compute.compute.v2017_03_30.models.KeyVaultSecretReference>`
:param key_encryption_key: The key encryption key which is Key Vault Key.
:param key_encryption_key: Specifies the location of the key encryption
key in Key Vault.
:type key_encryption_key: :class:`KeyVaultKeyReference
<azure.mgmt.compute.compute.v2017_03_30.models.KeyVaultKeyReference>`
:param enabled: Specifies whether disk encryption should be enabled on the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class DiskInstanceView(Model):

:param name: The disk name.
:type name: str
:param encryption_settings: The encryption settings of the disk.
:param encryption_settings: Specifies the encryption settings for the OS
Disk. <br><br> Minimum api-version: 2015-06-15
:type encryption_settings: list of :class:`DiskEncryptionSettings
<azure.mgmt.compute.compute.v2017_03_30.models.DiskEncryptionSettings>`
:param statuses: The resource status information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,22 @@


class HardwareProfile(Model):
"""Describes a hardware profile.
"""Specifies the hardware settings for the virtual machine.

:param vm_size: The virtual machine size name. Possible values include:
'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',
:param vm_size: Specifies the size of the virtual machine. For more
information about virtual machine sizes, see [Sizes for virtual
machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
<br><br> The available VM sizes depend on region and availability set. For
a list of available sizes use these APIs: <br><br> [List all available
virtual machine sizes in an availability
set](virtualmachines-list-sizes-availability-set.md) <br><br> [List all
available virtual machine sizes in a
region](virtualmachines-list-sizes-region.md) <br><br> [List all available
virtual machine sizes for
resizing](virtualmachines-list-sizes-for-resizing.md). Possible values
include: '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_A1_v2', 'Standard_A2_v2',
'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', 'Standard_A4m_v2',
'Standard_A8m_v2', 'Standard_D1', 'Standard_D2', 'Standard_D3',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@


class Image(Resource):
"""Describes an Image.
"""The source user image virtual hard disk. The virtual hard disk will be
copied before being attached to the virtual machine. If SourceImage is
provided, the destination virtual hard drive must not exist.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -32,7 +34,8 @@ class Image(Resource):
is created.
:type source_virtual_machine: :class:`SubResource
<azure.mgmt.compute.compute.v2017_03_30.models.SubResource>`
:param storage_profile: The storage profile.
:param storage_profile: Specifies the storage settings for the virtual
machine disks.
:type storage_profile: :class:`ImageStorageProfile
<azure.mgmt.compute.compute.v2017_03_30.models.ImageStorageProfile>`
:ivar provisioning_state: The provisioning state.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
class ImageDataDisk(Model):
"""Describes a data disk.

:param lun: The logical unit number.
:param lun: Specifies the logical unit number of the data disk. This value
is used to identify data disks within the VM and therefore must be unique
for each data disk attached to a VM.
:type lun: int
:param snapshot: The snapshot.
:type snapshot: :class:`SubResource
Expand All @@ -25,15 +27,19 @@ class ImageDataDisk(Model):
<azure.mgmt.compute.compute.v2017_03_30.models.SubResource>`
:param blob_uri: The Virtual Hard Disk.
:type blob_uri: str
:param caching: The caching type. Possible values include: 'None',
'ReadOnly', 'ReadWrite'
:param caching: Specifies the caching requirements. <br><br> Possible
values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite**
<br><br> Default: **None for Standard storage. ReadOnly for Premium
storage**. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
:type caching: str or :class:`CachingTypes
<azure.mgmt.compute.compute.v2017_03_30.models.CachingTypes>`
:param disk_size_gb: The initial disk size in GB for blank data disks, and
the new desired size for existing OS and Data disks.
:param 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. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param storage_account_type: The Storage Account type. Possible values
include: 'Standard_LRS', 'Premium_LRS'
:param storage_account_type: Specifies the storage account type for the
managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible
values include: 'Standard_LRS', 'Premium_LRS'
:type storage_account_type: str or :class:`StorageAccountTypes
<azure.mgmt.compute.compute.v2017_03_30.models.StorageAccountTypes>`
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
class ImageOSDisk(Model):
"""Describes an Operating System disk.

:param os_type: The Operating System type. Possible values include:
'Windows', 'Linux'
:param 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.
<br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**.
Possible values include: 'Windows', 'Linux'
:type os_type: str or :class:`OperatingSystemTypes
<azure.mgmt.compute.compute.v2017_03_30.models.OperatingSystemTypes>`
:param os_state: The OS State. Possible values include: 'Generalized',
Expand All @@ -31,15 +33,19 @@ class ImageOSDisk(Model):
<azure.mgmt.compute.compute.v2017_03_30.models.SubResource>`
:param blob_uri: The Virtual Hard Disk.
:type blob_uri: str
:param caching: The caching type. Possible values include: 'None',
'ReadOnly', 'ReadWrite'
:param caching: Specifies the caching requirements. <br><br> Possible
values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite**
<br><br> Default: **None for Standard storage. ReadOnly for Premium
storage**. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
:type caching: str or :class:`CachingTypes
<azure.mgmt.compute.compute.v2017_03_30.models.CachingTypes>`
:param disk_size_gb: The initial managed disk size in GB for blank data
disks, and the new desired size for existing OS and Data disks.
:param 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. <br><br> This value cannot be larger than 1023 GB
:type disk_size_gb: int
:param storage_account_type: The Storage Account type. Possible values
include: 'Standard_LRS', 'Premium_LRS'
:param storage_account_type: Specifies the storage account type for the
managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible
values include: 'Standard_LRS', 'Premium_LRS'
:type storage_account_type: str or :class:`StorageAccountTypes
<azure.mgmt.compute.compute.v2017_03_30.models.StorageAccountTypes>`
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,28 @@


class ImageReference(SubResource):
"""The image reference.
"""Specifies information about the image to use. You can specify information
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.

:param id: Resource Id
:type id: str
:param publisher: The image publisher.
:type publisher: str
:param offer: The image offer.
:param offer: Specifies the offer of the platform image or marketplace
image used to create the virtual machine.
:type offer: str
:param sku: The image SKU.
:type sku: str
:param version: The image version. The allowed formats are
Major.Minor.Build or 'latest'. Major, Minor and Build are decimal numbers.
Specify 'latest' to use the latest version of the image.
:param version: Specifies the version of the platform image or marketplace
image used to create the virtual machine. The allowed formats are
Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal
numbers. Specify 'latest' to use the latest version of an image available
at deploy time. Even if you use 'latest', the VM image will not
automatically update after deploy time even if a new version becomes
available.
:type version: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@
class ImageStorageProfile(Model):
"""Describes a storage profile.

:param os_disk: The OS disk.
:param os_disk: Specifies information about the operating system disk used
by the virtual machine. <br><br> For more information about disks, see
[About disks and VHDs for Azure virtual
machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
:type os_disk: :class:`ImageOSDisk
<azure.mgmt.compute.compute.v2017_03_30.models.ImageOSDisk>`
:param data_disks: The data disks.
:param data_disks: Specifies the parameters that are used to add a data
disk to a virtual machine. <br><br> For more information about disks, see
[About disks and VHDs for Azure virtual
machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
:type data_disks: list of :class:`ImageDataDisk
<azure.mgmt.compute.compute.v2017_03_30.models.ImageDataDisk>`
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class KeyVaultKeyReference(Model):
"""Describes a reference to Key Vault Key.

:param key_url: The URL referencing a key in a Key Vault.
:param key_url: The URL referencing a key encryption key in Key Vault.
:type key_url: str
:param source_vault: The relative URL of the Key Vault containing the key.
:type source_vault: :class:`SubResource
Expand Down
Loading