-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[Azure Stack] Update fabric admin sdk for 2019-05-01 storage API #7736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
eng/mgmt/mgmtmetadata/azsadmin_resource-manager_fabric.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| Installing AutoRest version: latest | ||
| AutoRest installed successfully. | ||
| Commencing code generation | ||
| Generating CSharp code | ||
| Executing AutoRest command | ||
| cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/azsadmin/resource-manager/fabric/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder= | ||
| 2019-09-23 09:00:29 UTC | ||
| Azure-rest-api-specs repository information | ||
| GitHub fork: Azure | ||
| Branch: master | ||
| Commit: 9029f3a9c75ca983ce97511b57cfba8810f45562 | ||
| AutoRest information | ||
| Requested version: latest | ||
| Bootstrapper version: autorest@2.0.4283 |
7 changes: 7 additions & 0 deletions
7
sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/AzSdk.RP.props
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +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>Fabric.Admin_2016-05-01;Fabric.Admin_2019-05-01;Fabric.Admin_2018-10-01;</AzureApiTag> | ||
| <PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags> | ||
| </PropertyGroup> | ||
| </Project> | ||
637 changes: 637 additions & 0 deletions
637
...AzureStack.Management.Fabric.Admin/src/Generated/ApplicationOperationResultsOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
152 changes: 152 additions & 0 deletions
152
....Management.Fabric.Admin/src/Generated/ApplicationOperationResultsOperationsExtensions.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,152 @@ | ||
| // <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.AzureStack.Management.Fabric.Admin | ||
| { | ||
| using Microsoft.Rest; | ||
| using Microsoft.Rest.Azure; | ||
| using Microsoft.Rest.Azure.OData; | ||
| using Models; | ||
| using System.Threading; | ||
| using System.Threading.Tasks; | ||
|
|
||
| /// <summary> | ||
| /// Extension methods for ApplicationOperationResultsOperations. | ||
| /// </summary> | ||
| public static partial class ApplicationOperationResultsOperationsExtensions | ||
| { | ||
| /// <summary> | ||
| /// Returns the status of an application operation. | ||
| /// </summary> | ||
| /// <param name='operations'> | ||
| /// The operations group for this extension method. | ||
| /// </param> | ||
| /// <param name='resourceGroupName'> | ||
| /// Name of the resource group. | ||
| /// </param> | ||
| /// <param name='location'> | ||
| /// Location of the resource. | ||
| /// </param> | ||
| /// <param name='operation'> | ||
| /// Operation identifier. | ||
| /// </param> | ||
| public static ApplicationOperationResult Get(this IApplicationOperationResultsOperations operations, string resourceGroupName, string location, string operation) | ||
| { | ||
| return operations.GetAsync(resourceGroupName, location, operation).GetAwaiter().GetResult(); | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Returns the status of an application operation. | ||
| /// </summary> | ||
| /// <param name='operations'> | ||
| /// The operations group for this extension method. | ||
| /// </param> | ||
| /// <param name='resourceGroupName'> | ||
| /// Name of the resource group. | ||
| /// </param> | ||
| /// <param name='location'> | ||
| /// Location of the resource. | ||
| /// </param> | ||
| /// <param name='operation'> | ||
| /// Operation identifier. | ||
| /// </param> | ||
| /// <param name='cancellationToken'> | ||
| /// The cancellation token. | ||
| /// </param> | ||
| public static async Task<ApplicationOperationResult> GetAsync(this IApplicationOperationResultsOperations operations, string resourceGroupName, string location, string operation, CancellationToken cancellationToken = default(CancellationToken)) | ||
| { | ||
| using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, operation, null, cancellationToken).ConfigureAwait(false)) | ||
| { | ||
| return _result.Body; | ||
| } | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Returns a list of all application operation results at a location. | ||
| /// </summary> | ||
| /// <param name='operations'> | ||
| /// The operations group for this extension method. | ||
| /// </param> | ||
| /// <param name='resourceGroupName'> | ||
| /// Name of the resource group. | ||
| /// </param> | ||
| /// <param name='location'> | ||
| /// Location of the resource. | ||
| /// </param> | ||
| /// <param name='odataQuery'> | ||
| /// OData parameters to apply to the operation. | ||
| /// </param> | ||
| public static IPage<ApplicationOperationResult> List(this IApplicationOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery<ApplicationOperationResult> odataQuery = default(ODataQuery<ApplicationOperationResult>)) | ||
| { | ||
| return operations.ListAsync(resourceGroupName, location, odataQuery).GetAwaiter().GetResult(); | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Returns a list of all application operation results at a location. | ||
| /// </summary> | ||
| /// <param name='operations'> | ||
| /// The operations group for this extension method. | ||
| /// </param> | ||
| /// <param name='resourceGroupName'> | ||
| /// Name of the resource group. | ||
| /// </param> | ||
| /// <param name='location'> | ||
| /// Location of the resource. | ||
| /// </param> | ||
| /// <param name='odataQuery'> | ||
| /// OData parameters to apply to the operation. | ||
| /// </param> | ||
| /// <param name='cancellationToken'> | ||
| /// The cancellation token. | ||
| /// </param> | ||
| public static async Task<IPage<ApplicationOperationResult>> ListAsync(this IApplicationOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery<ApplicationOperationResult> odataQuery = default(ODataQuery<ApplicationOperationResult>), CancellationToken cancellationToken = default(CancellationToken)) | ||
| { | ||
| using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, odataQuery, null, cancellationToken).ConfigureAwait(false)) | ||
| { | ||
| return _result.Body; | ||
| } | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Returns a list of all application operation results at a location. | ||
| /// </summary> | ||
| /// <param name='operations'> | ||
| /// The operations group for this extension method. | ||
| /// </param> | ||
| /// <param name='nextPageLink'> | ||
| /// The NextLink from the previous successful call to List operation. | ||
| /// </param> | ||
| public static IPage<ApplicationOperationResult> ListNext(this IApplicationOperationResultsOperations operations, string nextPageLink) | ||
| { | ||
| return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Returns a list of all application operation results at a location. | ||
| /// </summary> | ||
| /// <param name='operations'> | ||
| /// The operations group for this extension method. | ||
| /// </param> | ||
| /// <param name='nextPageLink'> | ||
| /// The NextLink from the previous successful call to List operation. | ||
| /// </param> | ||
| /// <param name='cancellationToken'> | ||
| /// The cancellation token. | ||
| /// </param> | ||
| public static async Task<IPage<ApplicationOperationResult>> ListNextAsync(this IApplicationOperationResultsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) | ||
| { | ||
| using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) | ||
| { | ||
| return _result.Body; | ||
| } | ||
| } | ||
|
|
||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.