Partager via


ResourceManagerRestRestClient Class

Definition

A client for managing resources behind the Azure Resource Manager service.

public class ResourceManagerRestRestClient : Microsoft.Azure.Commands.ResourceManager.Cmdlets.RestClients.ResourceManagerRestClientBase
type ResourceManagerRestRestClient = class
    inherit ResourceManagerRestClientBase
Public Class ResourceManagerRestRestClient
Inherits ResourceManagerRestClientBase
Inheritance
ResourceManagerRestRestClient

Constructors

ResourceManagerRestRestClient(Uri, HttpClientHelper)

Initializes a new instance of the ResourceManagerRestRestClient class.

Properties

EndpointUri

The endpoint that this client will communicate with.

Methods

DeleteResource(String, String, CancellationToken, String)

Get a nested resource.

GetAzureAsyncOperationResource(Uri, CancellationToken)

Get the azure async operation resource.

GetOperationResult(Uri, CancellationToken)

Get a the operation result.

GetOperationResult<TType>(Uri, CancellationToken)

Get a nested resource.

GetResource<TType>(String, String, CancellationToken, String)

Get a single resource.

GetResourceManagementRequestUri(String, String, String, String, String)

Generates a resource management request Uri based on the input parameters. Supports both subscription and tenant level resource and the condensed resource type and name format.

HeadResource(String, String, CancellationToken, String)

Get a single resource.

InvokeActionOnResource(String, String, String, CancellationToken, String, JObject)

Get a nested resource.

InvokeActionOnResource<TResult>(String, String, String, CancellationToken, String, JToken)

Get a nested resource.

ListNextBatch<TType>(String, CancellationToken)

Get the next batch of resource from a ResponseWithContinuation<T> object's next link.

ListObjectColleciton<TType>(String, String, CancellationToken, String)

Get a single resource.

ListResources<TType>(Guid, String, CancellationToken, Nullable<Int32>, String)

Lists all the resources under a single the subscription.

ListResources<TType>(Guid, String, String, CancellationToken, Nullable<Int32>, String)

Get all the resources in a single resource group.

ListResources<TType>(String, CancellationToken, Nullable<Int32>, String)

Lists all the resources under the user's tenant.

PatchResource(String, String, JToken, CancellationToken, String)

Get a nested resource.

PerformOperationAsync(HttpMethod, Uri, CancellationToken)

Performs an operation and returns the result.

(Inherited from ResourceManagerRestClientBase)
PerformOperationAsync(HttpMethod, Uri, JObject, CancellationToken)

Performs an operation and returns the result.

(Inherited from ResourceManagerRestClientBase)
PerformOperationAsync(HttpMethod, Uri, JToken, CancellationToken)

Performs an operation and returns the result.

(Inherited from ResourceManagerRestClientBase)
PutResource(String, String, JToken, CancellationToken, String)

Put a single resource.

SendRequestAsync(HttpMethod, Uri, CancellationToken)

Sends an HTTP request message and returns the result.

(Inherited from ResourceManagerRestClientBase)
SendRequestAsync(HttpMethod, Uri, JToken, CancellationToken)

Sends an HTTP request message and returns the result.

(Inherited from ResourceManagerRestClientBase)
SendRequestAsync(HttpRequestMessage, CancellationToken)

Sends an HTTP request message and returns the result.

(Inherited from ResourceManagerRestClientBase)
SendRequestAsync<TResponseType>(HttpMethod, Uri, CancellationToken)

Sends an HTTP request message and returns the result.

(Inherited from ResourceManagerRestClientBase)
SendRequestAsync<TResponseType>(HttpMethod, Uri, JObject, CancellationToken)

Sends an HTTP request message and returns the result from the content of the response message.

(Inherited from ResourceManagerRestClientBase)

Applies to