@@ -18,12 +18,12 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin
1818 using System . Threading . Tasks ;
1919
2020 /// <summary>
21- /// Extension methods for StorageSubSystemsOperations .
21+ /// Extension methods for ApplicationOperationResultsOperations .
2222 /// </summary>
23- public static partial class StorageSubSystemsOperationsExtensions
23+ public static partial class ApplicationOperationResultsOperationsExtensions
2424 {
2525 /// <summary>
26- /// Return the requested storage subsystem .
26+ /// Returns the status of an application operation .
2727 /// </summary>
2828 /// <param name='operations'>
2929 /// The operations group for this extension method.
@@ -34,19 +34,16 @@ public static partial class StorageSubSystemsOperationsExtensions
3434 /// <param name='location'>
3535 /// Location of the resource.
3636 /// </param>
37- /// <param name='scaleUnit '>
38- /// Name of the scale units .
37+ /// <param name='operation '>
38+ /// Operation identifier .
3939 /// </param>
40- /// <param name='storageSubSystem'>
41- /// Name of the storage system.
42- /// </param>
43- public static StorageSubSystem Get ( this IStorageSubSystemsOperations operations , string resourceGroupName , string location , string scaleUnit , string storageSubSystem )
40+ public static ApplicationOperationResult Get ( this IApplicationOperationResultsOperations operations , string resourceGroupName , string location , string operation )
4441 {
45- return operations . GetAsync ( resourceGroupName , location , scaleUnit , storageSubSystem ) . GetAwaiter ( ) . GetResult ( ) ;
42+ return operations . GetAsync ( resourceGroupName , location , operation ) . GetAwaiter ( ) . GetResult ( ) ;
4643 }
4744
4845 /// <summary>
49- /// Return the requested storage subsystem .
46+ /// Returns the status of an application operation .
5047 /// </summary>
5148 /// <param name='operations'>
5249 /// The operations group for this extension method.
@@ -57,25 +54,22 @@ public static StorageSubSystem Get(this IStorageSubSystemsOperations operations,
5754 /// <param name='location'>
5855 /// Location of the resource.
5956 /// </param>
60- /// <param name='scaleUnit'>
61- /// Name of the scale units.
62- /// </param>
63- /// <param name='storageSubSystem'>
64- /// Name of the storage system.
57+ /// <param name='operation'>
58+ /// Operation identifier.
6559 /// </param>
6660 /// <param name='cancellationToken'>
6761 /// The cancellation token.
6862 /// </param>
69- public static async Task < StorageSubSystem > GetAsync ( this IStorageSubSystemsOperations operations , string resourceGroupName , string location , string scaleUnit , string storageSubSystem , CancellationToken cancellationToken = default ( CancellationToken ) )
63+ public static async Task < ApplicationOperationResult > GetAsync ( this IApplicationOperationResultsOperations operations , string resourceGroupName , string location , string operation , CancellationToken cancellationToken = default ( CancellationToken ) )
7064 {
71- using ( var _result = await operations . GetWithHttpMessagesAsync ( resourceGroupName , location , scaleUnit , storageSubSystem , null , cancellationToken ) . ConfigureAwait ( false ) )
65+ using ( var _result = await operations . GetWithHttpMessagesAsync ( resourceGroupName , location , operation , null , cancellationToken ) . ConfigureAwait ( false ) )
7266 {
7367 return _result . Body ;
7468 }
7569 }
7670
7771 /// <summary>
78- /// Returns a list of all storage subsystems for a location.
72+ /// Returns a list of all application operation results at a location.
7973 /// </summary>
8074 /// <param name='operations'>
8175 /// The operations group for this extension method.
@@ -86,19 +80,16 @@ public static StorageSubSystem Get(this IStorageSubSystemsOperations operations,
8680 /// <param name='location'>
8781 /// Location of the resource.
8882 /// </param>
89- /// <param name='scaleUnit'>
90- /// Name of the scale units.
91- /// </param>
9283 /// <param name='odataQuery'>
9384 /// OData parameters to apply to the operation.
9485 /// </param>
95- public static IPage < StorageSubSystem > List ( this IStorageSubSystemsOperations operations , string resourceGroupName , string location , string scaleUnit , ODataQuery < StorageSubSystem > odataQuery = default ( ODataQuery < StorageSubSystem > ) )
86+ public static IPage < ApplicationOperationResult > List ( this IApplicationOperationResultsOperations operations , string resourceGroupName , string location , ODataQuery < ApplicationOperationResult > odataQuery = default ( ODataQuery < ApplicationOperationResult > ) )
9687 {
97- return operations . ListAsync ( resourceGroupName , location , scaleUnit , odataQuery ) . GetAwaiter ( ) . GetResult ( ) ;
88+ return operations . ListAsync ( resourceGroupName , location , odataQuery ) . GetAwaiter ( ) . GetResult ( ) ;
9889 }
9990
10091 /// <summary>
101- /// Returns a list of all storage subsystems for a location.
92+ /// Returns a list of all application operation results at a location.
10293 /// </summary>
10394 /// <param name='operations'>
10495 /// The operations group for this extension method.
@@ -109,39 +100,36 @@ public static StorageSubSystem Get(this IStorageSubSystemsOperations operations,
109100 /// <param name='location'>
110101 /// Location of the resource.
111102 /// </param>
112- /// <param name='scaleUnit'>
113- /// Name of the scale units.
114- /// </param>
115103 /// <param name='odataQuery'>
116104 /// OData parameters to apply to the operation.
117105 /// </param>
118106 /// <param name='cancellationToken'>
119107 /// The cancellation token.
120108 /// </param>
121- public static async Task < IPage < StorageSubSystem > > ListAsync ( this IStorageSubSystemsOperations operations , string resourceGroupName , string location , string scaleUnit , ODataQuery < StorageSubSystem > odataQuery = default ( ODataQuery < StorageSubSystem > ) , CancellationToken cancellationToken = default ( CancellationToken ) )
109+ public static async Task < IPage < ApplicationOperationResult > > ListAsync ( this IApplicationOperationResultsOperations operations , string resourceGroupName , string location , ODataQuery < ApplicationOperationResult > odataQuery = default ( ODataQuery < ApplicationOperationResult > ) , CancellationToken cancellationToken = default ( CancellationToken ) )
122110 {
123- using ( var _result = await operations . ListWithHttpMessagesAsync ( resourceGroupName , location , scaleUnit , odataQuery , null , cancellationToken ) . ConfigureAwait ( false ) )
111+ using ( var _result = await operations . ListWithHttpMessagesAsync ( resourceGroupName , location , odataQuery , null , cancellationToken ) . ConfigureAwait ( false ) )
124112 {
125113 return _result . Body ;
126114 }
127115 }
128116
129117 /// <summary>
130- /// Returns a list of all storage subsystems for a location.
118+ /// Returns a list of all application operation results at a location.
131119 /// </summary>
132120 /// <param name='operations'>
133121 /// The operations group for this extension method.
134122 /// </param>
135123 /// <param name='nextPageLink'>
136124 /// The NextLink from the previous successful call to List operation.
137125 /// </param>
138- public static IPage < StorageSubSystem > ListNext ( this IStorageSubSystemsOperations operations , string nextPageLink )
126+ public static IPage < ApplicationOperationResult > ListNext ( this IApplicationOperationResultsOperations operations , string nextPageLink )
139127 {
140128 return operations . ListNextAsync ( nextPageLink ) . GetAwaiter ( ) . GetResult ( ) ;
141129 }
142130
143131 /// <summary>
144- /// Returns a list of all storage subsystems for a location.
132+ /// Returns a list of all application operation results at a location.
145133 /// </summary>
146134 /// <param name='operations'>
147135 /// The operations group for this extension method.
@@ -152,7 +140,7 @@ public static IPage<StorageSubSystem> ListNext(this IStorageSubSystemsOperations
152140 /// <param name='cancellationToken'>
153141 /// The cancellation token.
154142 /// </param>
155- public static async Task < IPage < StorageSubSystem > > ListNextAsync ( this IStorageSubSystemsOperations operations , string nextPageLink , CancellationToken cancellationToken = default ( CancellationToken ) )
143+ public static async Task < IPage < ApplicationOperationResult > > ListNextAsync ( this IApplicationOperationResultsOperations operations , string nextPageLink , CancellationToken cancellationToken = default ( CancellationToken ) )
156144 {
157145 using ( var _result = await operations . ListNextWithHttpMessagesAsync ( nextPageLink , null , cancellationToken ) . ConfigureAwait ( false ) )
158146 {
0 commit comments