ResourceManagerRestClientBase.PerformOperationAsync 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.
Overloads
PerformOperationAsync(HttpMethod, Uri, CancellationToken) |
Performs an operation and returns the result. |
PerformOperationAsync(HttpMethod, Uri, JObject, CancellationToken) |
Performs an operation and returns the result. |
PerformOperationAsync(HttpMethod, Uri, JToken, CancellationToken) |
Performs an operation and returns the result. |
PerformOperationAsync(HttpMethod, Uri, CancellationToken)
Performs an operation and returns the result.
protected System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.OperationResult> PerformOperationAsync (System.Net.Http.HttpMethod httpMethod, Uri requestUri, System.Threading.CancellationToken cancellationToken);
member this.PerformOperationAsync : System.Net.Http.HttpMethod * Uri * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.OperationResult>
Protected Function PerformOperationAsync (httpMethod As HttpMethod, requestUri As Uri, cancellationToken As CancellationToken) As Task(Of OperationResult)
Parameters
- httpMethod
- HttpMethod
The http method to use.
- requestUri
- Uri
The Uri of the operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
PerformOperationAsync(HttpMethod, Uri, JObject, CancellationToken)
Performs an operation and returns the result.
protected System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.OperationResult> PerformOperationAsync (System.Net.Http.HttpMethod httpMethod, Uri requestUri, Newtonsoft.Json.Linq.JObject content, System.Threading.CancellationToken cancellationToken);
member this.PerformOperationAsync : System.Net.Http.HttpMethod * Uri * Newtonsoft.Json.Linq.JObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.OperationResult>
Protected Function PerformOperationAsync (httpMethod As HttpMethod, requestUri As Uri, content As JObject, cancellationToken As CancellationToken) As Task(Of OperationResult)
Parameters
- httpMethod
- HttpMethod
The http method to use.
- requestUri
- Uri
The Uri of the operation.
- content
- Newtonsoft.Json.Linq.JObject
The content.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
PerformOperationAsync(HttpMethod, Uri, JToken, CancellationToken)
Performs an operation and returns the result.
protected System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.OperationResult> PerformOperationAsync (System.Net.Http.HttpMethod httpMethod, Uri requestUri, Newtonsoft.Json.Linq.JToken content, System.Threading.CancellationToken cancellationToken);
member this.PerformOperationAsync : System.Net.Http.HttpMethod * Uri * Newtonsoft.Json.Linq.JToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.OperationResult>
Protected Function PerformOperationAsync (httpMethod As HttpMethod, requestUri As Uri, content As JToken, cancellationToken As CancellationToken) As Task(Of OperationResult)
Parameters
- httpMethod
- HttpMethod
The http method to use.
- requestUri
- Uri
The Uri of the operation.
- content
- Newtonsoft.Json.Linq.JToken
The content.
- cancellationToken
- CancellationToken
The cancellation token.