Skip to content
Closed
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
2 changes: 1 addition & 1 deletion src/SDKs/Compute/AzSdk.RP.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag>Compute_2018-10-01;Compute_2018-09-30;Compute_2018-06-01;Compute_2017-09-01;ContainerService_2017-01-31;</AzureApiTag>
<AzureApiTag>Compute_2019-03-01;Compute_2018-09-30;Compute_2018-06-01;Compute_2017-09-01;ContainerService_2017-01-31;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -313,7 +313,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -511,7 +511,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -687,7 +687,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -867,7 +867,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1050,7 +1050,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1243,7 +1243,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -361,7 +361,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -541,7 +541,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -742,7 +742,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -968,7 +968,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1184,7 +1184,7 @@ internal ImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ internal LogAnalyticsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -363,7 +363,7 @@ internal LogAnalyticsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2018-10-01";
string apiVersion = "2019-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ public VirtualMachineScaleSet()
/// appears in the response.</param>
/// <param name="overprovision">Specifies whether the Virtual Machine
/// Scale Set should be overprovisioned.</param>
/// <param name="doNotRunExtensionsOnOverprovisionedVMs">In case of
/// overprovisioning, determines whether extensions should be run
/// immediately, or if they should be delayed until after
/// overprovisioning has finished and the set of instances to keep have
/// been selected.</param>
/// <param name="uniqueId">Specifies the ID which uniquely identifies a
/// Virtual Machine Scale Set.</param>
/// <param name="singlePlacementGroup">When true this limits the scale
Expand All @@ -72,7 +67,7 @@ public VirtualMachineScaleSet()
/// <param name="identity">The identity of the virtual machine scale
/// set, if configured.</param>
/// <param name="zones">The virtual machine scale set zones.</param>
public VirtualMachineScaleSet(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), Sku sku = default(Sku), Plan plan = default(Plan), UpgradePolicy upgradePolicy = default(UpgradePolicy), VirtualMachineScaleSetVMProfile virtualMachineProfile = default(VirtualMachineScaleSetVMProfile), string provisioningState = default(string), bool? overprovision = default(bool?), bool? doNotRunExtensionsOnOverprovisionedVMs = default(bool?), string uniqueId = default(string), bool? singlePlacementGroup = default(bool?), bool? zoneBalance = default(bool?), int? platformFaultDomainCount = default(int?), VirtualMachineScaleSetIdentity identity = default(VirtualMachineScaleSetIdentity), IList<string> zones = default(IList<string>))
public VirtualMachineScaleSet(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), Sku sku = default(Sku), Plan plan = default(Plan), UpgradePolicy upgradePolicy = default(UpgradePolicy), VirtualMachineScaleSetVMProfile virtualMachineProfile = default(VirtualMachineScaleSetVMProfile), string provisioningState = default(string), bool? overprovision = default(bool?), string uniqueId = default(string), bool? singlePlacementGroup = default(bool?), bool? zoneBalance = default(bool?), int? platformFaultDomainCount = default(int?), VirtualMachineScaleSetIdentity identity = default(VirtualMachineScaleSetIdentity), IList<string> zones = default(IList<string>))
: base(location, id, name, type, tags)
{
Sku = sku;
Expand All @@ -81,7 +76,6 @@ public VirtualMachineScaleSet()
VirtualMachineProfile = virtualMachineProfile;
ProvisioningState = provisioningState;
Overprovision = overprovision;
DoNotRunExtensionsOnOverprovisionedVMs = doNotRunExtensionsOnOverprovisionedVMs;
UniqueId = uniqueId;
SinglePlacementGroup = singlePlacementGroup;
ZoneBalance = zoneBalance;
Expand Down Expand Up @@ -139,15 +133,6 @@ public VirtualMachineScaleSet()
[JsonProperty(PropertyName = "properties.overprovision")]
public bool? Overprovision { get; set; }

/// <summary>
/// Gets or sets in case of overprovisioning, determines whether
/// extensions should be run immediately, or if they should be delayed
/// until after overprovisioning has finished and the set of instances
/// to keep have been selected.
/// </summary>
[JsonProperty(PropertyName = "properties.doNotRunExtensionsOnOverprovisionedVMs")]
public bool? DoNotRunExtensionsOnOverprovisionedVMs { get; set; }

/// <summary>
/// Gets specifies the ID which uniquely identifies a Virtual Machine
/// Scale Set.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public VirtualMachineScaleSetVM()
/// the virtual machine.</param>
/// <param name="networkProfile">Specifies the network interfaces of
/// the virtual machine.</param>
/// <param name="networkProfileConfiguration">Specifies the network
/// profile configuration of the virtual machine.</param>
/// <param name="diagnosticsProfile">Specifies the boot diagnostic
/// settings state. &lt;br&gt;&lt;br&gt;Minimum api-version:
/// 2015-06-15.</param>
Expand Down Expand Up @@ -88,6 +90,11 @@ public VirtualMachineScaleSetVM()
/// [Azure Hybrid Use Benefit for Windows
/// Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
/// &lt;br&gt;&lt;br&gt; Minimum api-version: 2015-06-15</param>
/// <param name="modelDefinitionApplied">Specifies whether the model
/// applied to the virtual machine is the model of the virtual machine
/// scale set or the customized model for the virtual machine.</param>
/// <param name="protectionPolicy">Specifies the protection policy of
/// the virtual machine.</param>
/// <param name="plan">Specifies information about the marketplace
/// image used to create the virtual machine. This element is only used
/// for marketplace images. Before you can use a marketplace image from
Expand All @@ -98,7 +105,7 @@ public VirtualMachineScaleSetVM()
/// <param name="resources">The virtual machine child extension
/// resources.</param>
/// <param name="zones">The virtual machine zones.</param>
public VirtualMachineScaleSetVM(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string instanceId = default(string), Sku sku = default(Sku), bool? latestModelApplied = default(bool?), string vmId = default(string), VirtualMachineScaleSetVMInstanceView instanceView = default(VirtualMachineScaleSetVMInstanceView), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), string provisioningState = default(string), string licenseType = default(string), Plan plan = default(Plan), IList<VirtualMachineExtension> resources = default(IList<VirtualMachineExtension>), IList<string> zones = default(IList<string>))
public VirtualMachineScaleSetVM(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string instanceId = default(string), Sku sku = default(Sku), bool? latestModelApplied = default(bool?), string vmId = default(string), VirtualMachineScaleSetVMInstanceView instanceView = default(VirtualMachineScaleSetVMInstanceView), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), VirtualMachineScaleSetVMNetworkProfileConfiguration networkProfileConfiguration = default(VirtualMachineScaleSetVMNetworkProfileConfiguration), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), string provisioningState = default(string), string licenseType = default(string), string modelDefinitionApplied = default(string), VirtualMachineScaleSetVMProtectionPolicy protectionPolicy = default(VirtualMachineScaleSetVMProtectionPolicy), Plan plan = default(Plan), IList<VirtualMachineExtension> resources = default(IList<VirtualMachineExtension>), IList<string> zones = default(IList<string>))
: base(location, id, name, type, tags)
{
InstanceId = instanceId;
Expand All @@ -111,10 +118,13 @@ public VirtualMachineScaleSetVM()
AdditionalCapabilities = additionalCapabilities;
OsProfile = osProfile;
NetworkProfile = networkProfile;
NetworkProfileConfiguration = networkProfileConfiguration;
DiagnosticsProfile = diagnosticsProfile;
AvailabilitySet = availabilitySet;
ProvisioningState = provisioningState;
LicenseType = licenseType;
ModelDefinitionApplied = modelDefinitionApplied;
ProtectionPolicy = protectionPolicy;
Plan = plan;
Resources = resources;
Zones = zones;
Expand Down Expand Up @@ -194,6 +204,13 @@ public VirtualMachineScaleSetVM()
[JsonProperty(PropertyName = "properties.networkProfile")]
public NetworkProfile NetworkProfile { get; set; }

/// <summary>
/// Gets or sets specifies the network profile configuration of the
/// virtual machine.
/// </summary>
[JsonProperty(PropertyName = "properties.networkProfileConfiguration")]
public VirtualMachineScaleSetVMNetworkProfileConfiguration NetworkProfileConfiguration { get; set; }

/// <summary>
/// Gets or sets specifies the boot diagnostic settings state.
/// &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Minimum api-version:
Expand Down Expand Up @@ -244,6 +261,21 @@ public VirtualMachineScaleSetVM()
[JsonProperty(PropertyName = "properties.licenseType")]
public string LicenseType { get; set; }

/// <summary>
/// Gets specifies whether the model applied to the virtual machine is
/// the model of the virtual machine scale set or the customized model
/// for the virtual machine.
/// </summary>
[JsonProperty(PropertyName = "properties.modelDefinitionApplied")]
public string ModelDefinitionApplied { get; private set; }

/// <summary>
/// Gets or sets specifies the protection policy of the virtual
/// machine.
/// </summary>
[JsonProperty(PropertyName = "properties.protectionPolicy")]
public VirtualMachineScaleSetVMProtectionPolicy ProtectionPolicy { get; set; }

/// <summary>
/// Gets or sets specifies information about the marketplace image used
/// to create the virtual machine. This element is only used for
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.Compute.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// Describes a virtual machine scale set VM network profile.
/// </summary>
public partial class VirtualMachineScaleSetVMNetworkProfileConfiguration
{
/// <summary>
/// Initializes a new instance of the
/// VirtualMachineScaleSetVMNetworkProfileConfiguration class.
/// </summary>
public VirtualMachineScaleSetVMNetworkProfileConfiguration()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the
/// VirtualMachineScaleSetVMNetworkProfileConfiguration class.
/// </summary>
/// <param name="networkInterfaceConfigurations">The list of network
/// configurations.</param>
public VirtualMachineScaleSetVMNetworkProfileConfiguration(IList<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations = default(IList<VirtualMachineScaleSetNetworkConfiguration>))
{
NetworkInterfaceConfigurations = networkInterfaceConfigurations;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets the list of network configurations.
/// </summary>
[JsonProperty(PropertyName = "networkInterfaceConfigurations")]
public IList<VirtualMachineScaleSetNetworkConfiguration> NetworkInterfaceConfigurations { get; set; }

}
}
Loading