diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs
index e37c477a11b8..a4b8f9ca052f 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperations.cs
@@ -840,6 +840,9 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
///
/// Lists all availability sets in a subscription.
///
+ ///
+ /// The expand expression to apply to the operation.
+ ///
///
/// Headers that will be added to request.
///
@@ -861,7 +864,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task>> ListBySubscriptionWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task>> ListBySubscriptionWithHttpMessagesAsync(string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -876,6 +879,7 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("expand", expand);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "ListBySubscription", tracingParameters);
}
@@ -888,6 +892,10 @@ internal AvailabilitySetsOperations(ComputeManagementClient client)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
+ if (expand != null)
+ {
+ _queryParameters.Add(string.Format("$expand={0}", System.Uri.EscapeDataString(expand)));
+ }
if (_queryParameters.Count > 0)
{
_url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperationsExtensions.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperationsExtensions.cs
index 4b4c42ed55c4..40f7df6e1190 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperationsExtensions.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/AvailabilitySetsOperationsExtensions.cs
@@ -198,9 +198,12 @@ public static AvailabilitySet Get(this IAvailabilitySetsOperations operations, s
///
/// The operations group for this extension method.
///
- public static IPage ListBySubscription(this IAvailabilitySetsOperations operations)
+ ///
+ /// The expand expression to apply to the operation.
+ ///
+ public static IPage ListBySubscription(this IAvailabilitySetsOperations operations, string expand = default(string))
{
- return operations.ListBySubscriptionAsync().GetAwaiter().GetResult();
+ return operations.ListBySubscriptionAsync(expand).GetAwaiter().GetResult();
}
///
@@ -209,12 +212,15 @@ public static IPage ListBySubscription(this IAvailabilitySetsOp
///
/// The operations group for this extension method.
///
+ ///
+ /// The expand expression to apply to the operation.
+ ///
///
/// The cancellation token.
///
- public static async Task> ListBySubscriptionAsync(this IAvailabilitySetsOperations operations, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task> ListBySubscriptionAsync(this IAvailabilitySetsOperations operations, string expand = default(string), CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.ListBySubscriptionWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.ListBySubscriptionWithHttpMessagesAsync(expand, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IAvailabilitySetsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IAvailabilitySetsOperations.cs
index 78b836e76689..b5a178346c62 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IAvailabilitySetsOperations.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IAvailabilitySetsOperations.cs
@@ -129,6 +129,9 @@ public partial interface IAvailabilitySetsOperations
///
/// Lists all availability sets in a subscription.
///
+ ///
+ /// The expand expression to apply to the operation.
+ ///
///
/// The headers that will be added to request.
///
@@ -144,7 +147,7 @@ public partial interface IAvailabilitySetsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListBySubscriptionWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListBySubscriptionWithHttpMessagesAsync(string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Lists all availability sets in a resource group.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs
index 1dc8da2c560e..92e16cbf4f6d 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs
@@ -49,16 +49,5 @@ public static IEnumerable> ApiInfo_ComputeManageme
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "latest";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/compute/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\Users\\jopolloc\\codebase\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "86796b0f17d82b046fddbc7cce463a159774f6d6";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-