ResourceConfigExtensions.GetAsync<TModel> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<TModel> GetAsync<TModel> (this Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<TModel> config, Microsoft.Azure.Commands.Common.Strategies.IClient client, System.Threading.CancellationToken cancellationToken) where TModel : class;
static member GetAsync : Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<'Model (requires 'Model : null)> * Microsoft.Azure.Commands.Common.Strategies.IClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Model (requires 'Model : null)> (requires 'Model : null)
<Extension()>
Public Function GetAsync(Of TModel As Class) (config As ResourceConfig(Of TModel), client As IClient, cancellationToken As CancellationToken) As Task(Of TModel)
Type Parameters
- TModel
Parameters
- config
- ResourceConfig<TModel>
- client
- IClient
- cancellationToken
- CancellationToken
Returns
Task<TModel>