Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
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
132 changes: 65 additions & 67 deletions management/azure_mgmt_compute/lib/generated/azure_mgmt_compute.rb
100755 → 100644

Large diffs are not rendered by default.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
21 changes: 11 additions & 10 deletions ...azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
module Azure::ARM::Compute
module Models
#
# 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.
# 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 applied.
#
class AdditionalUnattendContent

Expand All @@ -25,14 +25,15 @@ class AdditionalUnattendContent
# include: 'Microsoft-Windows-Shell-Setup'
attr_accessor :component_name

# @return [SettingNames] Setting name (e.g. FirstLogonCommands, AutoLogon
# ). Possible values include: 'AutoLogon', 'FirstLogonCommands'
# @return [SettingNames] Specifies the name of the setting to which the
# content applies. Possible values are: FirstLogonCommands and AutoLogon.
# Possible values include: 'AutoLogon', 'FirstLogonCommands'
attr_accessor :setting_name

# @return [String] 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.
# @return [String] 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.
attr_accessor :content


Expand Down
Empty file.
Empty file.
12 changes: 11 additions & 1 deletion management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/availability_set.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@
module Azure::ARM::Compute
module Models
#
# 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.
#
class AvailabilitySet < MsRestAzure::Resource

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
module Azure::ARM::Compute
module Models
#
# 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.
#
class BootDiagnostics

Expand All @@ -17,7 +21,7 @@ class BootDiagnostics
# Virtual Machine.
attr_accessor :enabled

# @return [String] URI of the storage account to use for placing the
# @return [String] Uri of the storage account to use for placing the
# console output and screenshot.
attr_accessor :storage_uri

Expand Down
Empty file.
Empty file.
Empty file.
38 changes: 26 additions & 12 deletions management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/data_disk.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,45 @@ class DataDisk
include MsRestAzure

include MsRest::JSONable
# @return [Integer] The logical unit number.
# @return [Integer] 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.
attr_accessor :lun

# @return [String] The disk name.
attr_accessor :name

# @return [VirtualHardDisk] The virtual hard disk.
# @return [VirtualHardDisk] The virtual hard disk..
attr_accessor :vhd

# @return [VirtualHardDisk] 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.
# @return [VirtualHardDisk] 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.
attr_accessor :image

# @return [CachingTypes] The caching type. Possible values include:
# 'None', 'ReadOnly', 'ReadWrite'
# @return [CachingTypes] 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'
attr_accessor :caching

# @return [DiskCreateOptionTypes] The create option. Possible values
# include: 'fromImage', 'empty', 'attach'
# @return [DiskCreateOptionTypes] 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'
attr_accessor :create_option

# @return [Integer] The initial disk size in GB for blank data disks, and
# the new desired size for resizing existing OS and data disks.
# @return [Integer] 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
attr_accessor :disk_size_gb

# @return [ManagedDiskParameters] The managed disk parameters.
Expand Down
6 changes: 3 additions & 3 deletions management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/data_disk_image.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class DataDiskImage
include MsRestAzure

include MsRest::JSONable
# @return [Integer] 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.
# @return [Integer] 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.
attr_accessor :lun


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@
module Azure::ARM::Compute
module Models
#
# Describes a diagnostics profile.
# Specifies the boot diagnostic settings state. <br><br>Minimum
# api-version: 2015-06-15.
#
class DiagnosticsProfile

include MsRestAzure

include MsRest::JSONable
# @return [BootDiagnostics] 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.
attr_accessor :boot_diagnostics


Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ class DiskEncryptionSettings
include MsRestAzure

include MsRest::JSONable
# @return [KeyVaultSecretReference] The disk encryption key which is a
# Key Vault Secret.
# @return [KeyVaultSecretReference] Specifies the location of the disk
# encryption key, which is a Key Vault Secret.
attr_accessor :disk_encryption_key

# @return [KeyVaultKeyReference] The key encryption key which is Key
# Vault Key.
# @return [KeyVaultKeyReference] Specifies the location of the key
# encryption key in Key Vault.
attr_accessor :key_encryption_key

# @return [Boolean] Specifies whether disk encryption should be enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class DiskInstanceView
# @return [String] The disk name.
attr_accessor :name

# @return [Array<DiskEncryptionSettings>] The encryption settings of the
# disk.
# @return [Array<DiskEncryptionSettings>] Specifies the encryption
# settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15
attr_accessor :encryption_settings

# @return [Array<InstanceViewStatus>] The resource status information.
Expand Down
Empty file.
Empty file.
Empty file.
42 changes: 26 additions & 16 deletions management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/hardware_profile.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,38 @@
module Azure::ARM::Compute
module Models
#
# Describes a hardware profile.
# Specifies the hardware settings for the virtual machine.
#
class HardwareProfile

include MsRestAzure

include MsRest::JSONable
# @return [VirtualMachineSizeTypes] 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', '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',
# 'Standard_D4', 'Standard_D11', 'Standard_D12', 'Standard_D13',
# 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', 'Standard_D3_v2',
# 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2',
# 'Standard_D12_v2', 'Standard_D13_v2', 'Standard_D14_v2',
# 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3',
# 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13',
# 'Standard_DS14', 'Standard_DS1_v2', 'Standard_DS2_v2',
# @return [VirtualMachineSizeTypes] 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', 'Standard_D4', 'Standard_D11',
# 'Standard_D12', 'Standard_D13', 'Standard_D14', 'Standard_D1_v2',
# 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', 'Standard_D5_v2',
# 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2',
# 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2',
# 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', 'Standard_DS12',
# 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', 'Standard_DS2_v2',
# 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2',
# 'Standard_DS11_v2', 'Standard_DS12_v2', 'Standard_DS13_v2',
# 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_F1', 'Standard_F2',
Expand Down
7 changes: 5 additions & 2 deletions management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/image.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
module Azure::ARM::Compute
module Models
#
# 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.
#
class Image < MsRestAzure::Resource

Expand All @@ -17,7 +19,8 @@ class Image < MsRestAzure::Resource
# created.
attr_accessor :source_virtual_machine

# @return [ImageStorageProfile] The storage profile.
# @return [ImageStorageProfile] Specifies the storage settings for the
# virtual machine disks.
attr_accessor :storage_profile

# @return [String] The provisioning state.
Expand Down
21 changes: 14 additions & 7 deletions management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/image_data_disk.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ class ImageDataDisk
include MsRestAzure

include MsRest::JSONable
# @return [Integer] The logical unit number.
# @return [Integer] 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.
attr_accessor :lun

# @return [SubResource] The snapshot.
Expand All @@ -25,16 +27,21 @@ class ImageDataDisk
# @return [String] The Virtual Hard Disk.
attr_accessor :blob_uri

# @return [CachingTypes] The caching type. Possible values include:
# 'None', 'ReadOnly', 'ReadWrite'
# @return [CachingTypes] 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'
attr_accessor :caching

# @return [Integer] The initial disk size in GB for blank data disks, and
# the new desired size for existing OS and Data disks.
# @return [Integer] 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
attr_accessor :disk_size_gb

# @return [StorageAccountTypes] The Storage Account type. Possible values
# include: 'Standard_LRS', 'Premium_LRS'
# @return [StorageAccountTypes] Specifies the storage account type for
# the managed disk. Possible values are: Standard_LRS or Premium_LRS.
# Possible values include: 'Standard_LRS', 'Premium_LRS'
attr_accessor :storage_account_type


Expand Down
23 changes: 15 additions & 8 deletions management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/image_osdisk.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ class ImageOSDisk
include MsRestAzure

include MsRest::JSONable
# @return [OperatingSystemTypes] The Operating System type. Possible
# values include: 'Windows', 'Linux'
# @return [OperatingSystemTypes] 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'
attr_accessor :os_type

# @return [OperatingSystemStateTypes] The OS State. Possible values
Expand All @@ -30,16 +32,21 @@ class ImageOSDisk
# @return [String] The Virtual Hard Disk.
attr_accessor :blob_uri

# @return [CachingTypes] The caching type. Possible values include:
# 'None', 'ReadOnly', 'ReadWrite'
# @return [CachingTypes] 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'
attr_accessor :caching

# @return [Integer] The initial managed disk size in GB for blank data
# disks, and the new desired size for existing OS and Data disks.
# @return [Integer] 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
attr_accessor :disk_size_gb

# @return [StorageAccountTypes] The Storage Account type. Possible values
# include: 'Standard_LRS', 'Premium_LRS'
# @return [StorageAccountTypes] Specifies the storage account type for
# the managed disk. Possible values are: Standard_LRS or Premium_LRS.
# Possible values include: 'Standard_LRS', 'Premium_LRS'
attr_accessor :storage_account_type


Expand Down
19 changes: 14 additions & 5 deletions management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/models/image_reference.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
module Azure::ARM::Compute
module Models
#
# 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.
#
class ImageReference < MsRestAzure::SubResource

Expand All @@ -16,15 +20,20 @@ class ImageReference < MsRestAzure::SubResource
# @return [String] The image publisher.
attr_accessor :publisher

# @return [String] The image offer.
# @return [String] Specifies the offer of the platform image or
# marketplace image used to create the virtual machine.
attr_accessor :offer

# @return [String] The image SKU.
attr_accessor :sku

# @return [String] 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.
# @return [String] 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.
attr_accessor :version


Expand Down
Loading