Skip to content
23 changes: 23 additions & 0 deletions sdk/compute/azure-mgmt-compute/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
Release History
===============

7.0.0 (2019-08-27)
++++++++++++++++++

**Features**

- Model VirtualMachineScaleSetUpdateVMProfile has a new parameter scheduled_events_profile
- Model VirtualMachineScaleSetUpdateVMProfile has a new parameter billing_profile
- Model VirtualMachine has a new parameter virtual_machine_scale_set
- Model VirtualMachine has a new parameter priority
- Model VirtualMachine has a new parameter billing_profile
- Model VirtualMachine has a new parameter eviction_policy
- Model VirtualMachineScaleSetVMProfile has a new parameter scheduled_events_profile
- Model VirtualMachineScaleSetVMProfile has a new parameter billing_profile
- Model VirtualMachineImage has a new parameter hyper_vgeneration
- Model VirtualMachineUpdate has a new parameter virtual_machine_scale_set
- Model VirtualMachineUpdate has a new parameter priority
- Model VirtualMachineUpdate has a new parameter billing_profile
- Model VirtualMachineUpdate has a new parameter eviction_policy

**Breaking changes**

- Operation VirtualMachineScaleSetVMsOperations.get has a new signature

6.0.0 (2019-07-20)
++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,11 @@ def get(
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'}

def list_by_subscription(
self, custom_headers=None, raw=False, **operation_config):
self, expand=None, custom_headers=None, raw=False, **operation_config):
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand All @@ -256,6 +258,8 @@ def prepare_request(next_link=None):
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if expand is not None:
query_parameters['$expand'] = self._serialize.query("expand", expand, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,11 @@ def get(
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'}

def list_by_subscription(
self, custom_headers=None, raw=False, **operation_config):
self, expand=None, custom_headers=None, raw=False, **operation_config):
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand All @@ -256,6 +258,8 @@ def prepare_request(next_link=None):
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if expand is not None:
query_parameters['$expand'] = self._serialize.query("expand", expand, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,11 @@ def get(
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'}

def list_by_subscription(
self, custom_headers=None, raw=False, **operation_config):
self, expand=None, custom_headers=None, raw=False, **operation_config):
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand All @@ -325,6 +327,8 @@ def prepare_request(next_link=None):
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if expand is not None:
query_parameters['$expand'] = self._serialize.query("expand", expand, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,11 @@ def get(
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'}

def list_by_subscription(
self, custom_headers=None, raw=False, **operation_config):
self, expand=None, custom_headers=None, raw=False, **operation_config):
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand All @@ -317,6 +319,8 @@ def prepare_request(next_link=None):
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if expand is not None:
query_parameters['$expand'] = self._serialize.query("expand", expand, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,11 @@ def get(
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'}

def list_by_subscription(
self, custom_headers=None, raw=False, **operation_config):
self, expand=None, custom_headers=None, raw=False, **operation_config):
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand All @@ -317,6 +319,8 @@ def prepare_request(next_link=None):
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if expand is not None:
query_parameters['$expand'] = self._serialize.query("expand", expand, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,11 @@ def get(
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}'}

def list_by_subscription(
self, custom_headers=None, raw=False, **operation_config):
self, expand=None, custom_headers=None, raw=False, **operation_config):
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand All @@ -317,6 +319,8 @@ def prepare_request(next_link=None):
# Construct parameters
query_parameters = {}
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if expand is not None:
query_parameters['$expand'] = self._serialize.query("expand", expand, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from ._models_py3 import AutomaticOSUpgradeProperties
from ._models_py3 import AvailabilitySet
from ._models_py3 import AvailabilitySetUpdate
from ._models_py3 import BillingProfile
from ._models_py3 import BootDiagnostics
from ._models_py3 import BootDiagnosticsInstanceView
from ._models_py3 import ComputeOperationValue
Expand Down Expand Up @@ -97,13 +98,16 @@
from ._models_py3 import RunCommandInputParameter
from ._models_py3 import RunCommandParameterDefinition
from ._models_py3 import RunCommandResult
from ._models_py3 import ScaleInPolicy
from ._models_py3 import ScheduledEventsProfile
from ._models_py3 import Sku
from ._models_py3 import SshConfiguration
from ._models_py3 import SshPublicKey
from ._models_py3 import StorageProfile
from ._models_py3 import SubResource
from ._models_py3 import SubResourceReadOnly
from ._models_py3 import TargetRegion
from ._models_py3 import TerminateNotificationProfile
from ._models_py3 import ThrottledRequestsInput
from ._models_py3 import UpdateResource
from ._models_py3 import UpgradeOperationHistoricalStatusInfo
Expand Down Expand Up @@ -190,6 +194,7 @@
from ._models import AutomaticOSUpgradeProperties
from ._models import AvailabilitySet
from ._models import AvailabilitySetUpdate
from ._models import BillingProfile
from ._models import BootDiagnostics
from ._models import BootDiagnosticsInstanceView
from ._models import ComputeOperationValue
Expand Down Expand Up @@ -268,13 +273,16 @@
from ._models import RunCommandInputParameter
from ._models import RunCommandParameterDefinition
from ._models import RunCommandResult
from ._models import ScaleInPolicy
from ._models import ScheduledEventsProfile
from ._models import Sku
from ._models import SshConfiguration
from ._models import SshPublicKey
from ._models import StorageProfile
from ._models import SubResource
from ._models import SubResourceReadOnly
from ._models import TargetRegion
from ._models import TerminateNotificationProfile
from ._models import ThrottledRequestsInput
from ._models import UpdateResource
from ._models import UpgradeOperationHistoricalStatusInfo
Expand Down Expand Up @@ -390,11 +398,12 @@
ResourceIdentityType,
MaintenanceOperationResultCodeTypes,
HyperVGenerationType,
VirtualMachinePriorityTypes,
VirtualMachineEvictionPolicyTypes,
UpgradeMode,
VirtualMachineScaleSetScaleInRules,
OperatingSystemStateTypes,
IPVersion,
VirtualMachinePriorityTypes,
VirtualMachineEvictionPolicyTypes,
VirtualMachineScaleSetSkuScaleType,
UpgradeState,
UpgradeOperationInvoker,
Expand All @@ -419,6 +428,7 @@
'AutomaticOSUpgradeProperties',
'AvailabilitySet',
'AvailabilitySetUpdate',
'BillingProfile',
'BootDiagnostics',
'BootDiagnosticsInstanceView',
'ComputeOperationValue',
Expand Down Expand Up @@ -497,13 +507,16 @@
'RunCommandInputParameter',
'RunCommandParameterDefinition',
'RunCommandResult',
'ScaleInPolicy',
'ScheduledEventsProfile',
'Sku',
'SshConfiguration',
'SshPublicKey',
'StorageProfile',
'SubResource',
'SubResourceReadOnly',
'TargetRegion',
'TerminateNotificationProfile',
'ThrottledRequestsInput',
'UpdateResource',
'UpgradeOperationHistoricalStatusInfo',
Expand Down Expand Up @@ -618,11 +631,12 @@
'ResourceIdentityType',
'MaintenanceOperationResultCodeTypes',
'HyperVGenerationType',
'VirtualMachinePriorityTypes',
'VirtualMachineEvictionPolicyTypes',
'UpgradeMode',
'VirtualMachineScaleSetScaleInRules',
'OperatingSystemStateTypes',
'IPVersion',
'VirtualMachinePriorityTypes',
'VirtualMachineEvictionPolicyTypes',
'VirtualMachineScaleSetSkuScaleType',
'UpgradeState',
'UpgradeOperationInvoker',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,32 @@ class HyperVGenerationType(str, Enum):
v2 = "V2"


class VirtualMachinePriorityTypes(str, Enum):

regular = "Regular"
low = "Low"


class VirtualMachineEvictionPolicyTypes(str, Enum):

deallocate = "Deallocate"
delete = "Delete"


class UpgradeMode(str, Enum):

automatic = "Automatic"
manual = "Manual"
rolling = "Rolling"


class VirtualMachineScaleSetScaleInRules(str, Enum):

default = "Default"
oldest_vm = "OldestVM"
newest_vm = "NewestVM"


class OperatingSystemStateTypes(str, Enum):

generalized = "Generalized"
Expand All @@ -310,18 +329,6 @@ class IPVersion(str, Enum):
ipv6 = "IPv6"


class VirtualMachinePriorityTypes(str, Enum):

regular = "Regular"
low = "Low"


class VirtualMachineEvictionPolicyTypes(str, Enum):

deallocate = "Deallocate"
delete = "Delete"


class VirtualMachineScaleSetSkuScaleType(str, Enum):

automatic = "Automatic"
Expand Down
Loading