Skip to content

Commit

Permalink
[AutoPR Microsoft.Azure.Management.ContainerService] Container Servic…
Browse files Browse the repository at this point in the history
…es: add java package 2019 08 01 (#172)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)

Mark "provisioningState" as read-only

* [AutoPR Microsoft.Azure.Management.HealthcareApis] Move to stable version (#134)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 98f6703f2854ce61a22c8ba99a243a3ecb85ec8c

Updated the way we retrieve version parameter

* [AutoPR Microsoft.Azure.Management.DataFactory] Chainingtrigger (#163)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)

Mark "provisioningState" as read-only

* Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b

Update review comments

* [AutoPR Microsoft.Azure.Management.EventHub] Eventhub: added NetworkRuleSets list API (#155)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)

Mark "provisioningState" as read-only

* Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc

update

* [AutoPR Microsoft.Azure.Management.Compute] [Compute] Add missing $expand parameter to AvSet list by subscription API (#165)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)

Mark "provisioningState" as read-only

* Generated from ed6acf4e35d75fc3c1c9e617b7131e83b6f59384

Add missing $expand parameter to AvSet list by subscription API

* [AutoPR Microsoft.Azure.Management.CognitiveServices] Fix check domain path (#147)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 111d1bc1666fe89cebb960135cf2f5336bbcb35a

Removed rogue file

* Generated from ba2bfe74bad69d5419a8966d712ebb7fbee44941 (#170)

removed pageable

* [AutoPR Microsoft.Azure.Management.DataFactory] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#143)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001

[DataFactory]Add support for ORC dataset

* [AutoPR Microsoft.Azure.Management.DataFactory] [Datafactory] Add a new property in Office365 connector (#166)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)

Mark "provisioningState" as read-only

* [AutoPR Microsoft.Azure.Management.HealthcareApis] Move to stable version (#134)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 98f6703f2854ce61a22c8ba99a243a3ecb85ec8c

Updated the way we retrieve version parameter

* [AutoPR Microsoft.Azure.Management.DataFactory] Chainingtrigger (#163)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)

Mark "provisioningState" as read-only

* Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b

Update review comments

* [AutoPR Microsoft.Azure.Management.EventHub] Eventhub: added NetworkRuleSets list API (#155)

* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)

Update ListLegacyPeerings.json

* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)

Mark "provisioningState" as read-only

* Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc

update

* Generated from eb6cdadb1aa229489cd5d7108cf02ba799416f40

Resovle comments

* Generated from 65a64690d9907f680b0070b16416ed61391f7d90

fix: not to remove 2019-06 tag in multiapi
  • Loading branch information
openapi-sdkautomation[bot] authored and azuresdkci committed Sep 4, 2019
1 parent fbcc859 commit 0c95230
Show file tree
Hide file tree
Showing 24 changed files with 1,549 additions and 35 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,112 @@ public static void Delete(this IAgentPoolsOperations operations, string resource
(await operations.DeleteWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, null, cancellationToken).ConfigureAwait(false)).Dispose();
}

/// <summary>
/// Gets upgrade profile for an agent pool.
/// </summary>
/// <remarks>
/// Gets the details of the upgrade profile for an agent pool with a specified
/// resource group and managed cluster name.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
public static AgentPoolUpgradeProfile GetUpgradeProfile(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName)
{
return operations.GetUpgradeProfileAsync(resourceGroupName, resourceName, agentPoolName).GetAwaiter().GetResult();
}

/// <summary>
/// Gets upgrade profile for an agent pool.
/// </summary>
/// <remarks>
/// Gets the details of the upgrade profile for an agent pool with a specified
/// resource group and managed cluster name.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async Task<AgentPoolUpgradeProfile> GetUpgradeProfileAsync(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.GetUpgradeProfileWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
}

/// <summary>
/// Gets a list of supported versions for the specified agent pool.
/// </summary>
/// <remarks>
/// Gets a list of supported versions for the specified agent pool.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
public static AgentPoolAvailableVersions GetAvailableAgentPoolVersions(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName)
{
return operations.GetAvailableAgentPoolVersionsAsync(resourceGroupName, resourceName, agentPoolName).GetAwaiter().GetResult();
}

/// <summary>
/// Gets a list of supported versions for the specified agent pool.
/// </summary>
/// <remarks>
/// Gets a list of supported versions for the specified agent pool.
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async Task<AgentPoolAvailableVersions> GetAvailableAgentPoolVersionsAsync(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.GetAvailableAgentPoolVersionsWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
}

/// <summary>
/// Creates or updates an agent pool.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ internal ContainerServicesOperations(ContainerServiceClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "location");
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,69 @@ public partial interface IAgentPoolsOperations
/// </exception>
Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets upgrade profile for an agent pool.
/// </summary>
/// <remarks>
/// Gets the details of the upgrade profile for an agent pool with a
/// specified resource group and managed cluster name.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<AgentPoolUpgradeProfile>> GetUpgradeProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets a list of supported versions for the specified agent pool.
/// </summary>
/// <remarks>
/// Gets a list of supported versions for the specified agent pool.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<AgentPoolAvailableVersions>> GetAvailableAgentPoolVersionsWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Creates or updates an agent pool.
/// </summary>
/// <remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -278,7 +278,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -496,7 +496,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$");
}
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -723,7 +723,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "roleName");
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -945,7 +945,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$");
}
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1165,7 +1165,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$");
}
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1385,7 +1385,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$");
}
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1756,7 +1756,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
{
parameters.Validate();
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -2003,7 +2003,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$");
}
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
TagsObject parameters = new TagsObject();
if (tags != null)
{
Expand Down Expand Up @@ -2231,7 +2231,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$");
}
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -2441,7 +2441,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
{
parameters.Validate();
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -2658,7 +2658,7 @@ internal ManagedClustersOperations(ContainerServiceClient client)
{
parameters.Validate();
}
string apiVersion = "2019-04-01";
string apiVersion = "2019-08-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,17 @@ public AgentPool()
/// provisioning state, which only appears in the response.</param>
/// <param name="availabilityZones">(PREVIEW) Availability zones for
/// nodes. Must use VirtualMachineScaleSets AgentPoolType.</param>
public AgentPool(int count, string vmSize, string id = default(string), string name = default(string), string type = default(string), int? osDiskSizeGB = default(int?), string vnetSubnetID = default(string), int? maxPods = default(int?), string osType = default(string), int? maxCount = default(int?), int? minCount = default(int?), bool? enableAutoScaling = default(bool?), string agentPoolType = default(string), string orchestratorVersion = default(string), string provisioningState = default(string), IList<string> availabilityZones = default(IList<string>))
/// <param name="enableNodePublicIP">Enable public IP for nodes</param>
/// <param name="scaleSetPriority">ScaleSetPriority to be used to
/// specify virtual machine scale set priority. Default to regular.
/// Possible values include: 'Low', 'Regular'</param>
/// <param name="scaleSetEvictionPolicy">ScaleSetEvictionPolicy to be
/// used to specify eviction policy for low priority virtual machine
/// scale set. Default to Delete. Possible values include: 'Delete',
/// 'Deallocate'</param>
/// <param name="nodeTaints">Taints added to new nodes during node pool
/// create and scale. For example, key=value:NoSchedule.</param>
public AgentPool(int count, string vmSize, string id = default(string), string name = default(string), string type = default(string), int? osDiskSizeGB = default(int?), string vnetSubnetID = default(string), int? maxPods = default(int?), string osType = default(string), int? maxCount = default(int?), int? minCount = default(int?), bool? enableAutoScaling = default(bool?), string agentPoolType = default(string), string orchestratorVersion = default(string), string provisioningState = default(string), IList<string> availabilityZones = default(IList<string>), bool? enableNodePublicIP = default(bool?), string scaleSetPriority = default(string), string scaleSetEvictionPolicy = default(string), IList<string> nodeTaints = default(IList<string>))
: base(id, name, type)
{
Count = count;
Expand All @@ -139,6 +149,10 @@ public AgentPool()
OrchestratorVersion = orchestratorVersion;
ProvisioningState = provisioningState;
AvailabilityZones = availabilityZones;
EnableNodePublicIP = enableNodePublicIP;
ScaleSetPriority = scaleSetPriority;
ScaleSetEvictionPolicy = scaleSetEvictionPolicy;
NodeTaints = nodeTaints;
CustomInit();
}

Expand Down Expand Up @@ -291,6 +305,35 @@ public AgentPool()
[JsonProperty(PropertyName = "properties.availabilityZones")]
public IList<string> AvailabilityZones { get; set; }

/// <summary>
/// Gets or sets enable public IP for nodes
/// </summary>
[JsonProperty(PropertyName = "properties.enableNodePublicIP")]
public bool? EnableNodePublicIP { get; set; }

/// <summary>
/// Gets or sets scaleSetPriority to be used to specify virtual machine
/// scale set priority. Default to regular. Possible values include:
/// 'Low', 'Regular'
/// </summary>
[JsonProperty(PropertyName = "properties.scaleSetPriority")]
public string ScaleSetPriority { get; set; }

/// <summary>
/// Gets or sets scaleSetEvictionPolicy to be used to specify eviction
/// policy for low priority virtual machine scale set. Default to
/// Delete. Possible values include: 'Delete', 'Deallocate'
/// </summary>
[JsonProperty(PropertyName = "properties.scaleSetEvictionPolicy")]
public string ScaleSetEvictionPolicy { get; set; }

/// <summary>
/// Gets or sets taints added to new nodes during node pool create and
/// scale. For example, key=value:NoSchedule.
/// </summary>
[JsonProperty(PropertyName = "properties.nodeTaints")]
public IList<string> NodeTaints { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
Expand Down
Loading

0 comments on commit 0c95230

Please sign in to comment.