Class AzureClientExtensions
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Rest.ClientRuntime.Azure.dll
Syntax
public static class AzureClientExtensions
Methods
GetLongRunningOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> GetLongRunningOperationResultAsync (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken);
Parameters
IAzureClient
client
|
AzureOperationResponse
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse>
|
GetLongRunningOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader>> GetLongRunningOperationResultAsync<TBody,THeader> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class where THeader : class;
Parameters
IAzureClient
client
|
AzureOperationResponse<TBody,THeader>
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse<TBody,THeader>>
|
Type Parameters
TBody
|
THeader
|
GetLongRunningOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody>> GetLongRunningOperationResultAsync<TBody> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class;
Parameters
IAzureClient
client
|
AzureOperationResponse<TBody>
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse<TBody>>
|
Type Parameters
TBody
|
GetLongRunningOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<THeader>> GetLongRunningOperationResultAsync<THeader> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationHeaderResponse<THeader> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where THeader : class;
Parameters
IAzureClient
client
|
AzureOperationHeaderResponse<THeader>
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationHeaderResponse<THeader>>
|
Type Parameters
THeader
|
GetPostOrDeleteOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> GetPostOrDeleteOperationResultAsync (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken);
Parameters
IAzureClient
client
|
AzureOperationResponse
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse>
|
GetPostOrDeleteOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader>> GetPostOrDeleteOperationResultAsync<TBody,THeader> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class where THeader : class;
Parameters
IAzureClient
client
|
AzureOperationResponse<TBody,THeader>
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse<TBody,THeader>>
|
Type Parameters
TBody
|
THeader
|
GetPostOrDeleteOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody>> GetPostOrDeleteOperationResultAsync<TBody> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class;
Parameters
IAzureClient
client
|
AzureOperationResponse<TBody>
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse<TBody>>
|
Type Parameters
TBody
|
GetPostOrDeleteOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<THeader>> GetPostOrDeleteOperationResultAsync<THeader> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationHeaderResponse<THeader> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where THeader : class;
Parameters
IAzureClient
client
|
AzureOperationHeaderResponse<THeader>
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationHeaderResponse<THeader>>
|
Type Parameters
THeader
|
GetPutOrPatchOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> GetPutOrPatchOperationResultAsync (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken);
Parameters
IAzureClient
client
|
AzureOperationResponse
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse>
|
GetPutOrPatchOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader>> GetPutOrPatchOperationResultAsync<TBody,THeader> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class where THeader : class;
Parameters
IAzureClient
client
|
AzureOperationResponse<TBody,THeader>
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse<TBody,THeader>>
|
Type Parameters
TBody
|
THeader
|
GetPutOrPatchOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody>> GetPutOrPatchOperationResultAsync<TBody> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class;
Parameters
IAzureClient
client
|
AzureOperationResponse<TBody>
response
|
Dictionary<String,List<String>>
customHeaders
|
CancellationToken
cancellationToken
|
Returns
Task<AzureOperationResponse<TBody>>
|
Type Parameters
TBody
|