SubscriptionClient Class

Definition

All resource groups and resources exist within subscriptions. These operation enable you get information about your subscriptions and tenants. A tenant is a dedicated instance of Azure Active Directory (Azure AD) for your organization.

public class SubscriptionClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Management.ResourceManager.SubscriptionClient>, IDisposable, Microsoft.Azure.Management.ResourceManager.ISubscriptionClient, Microsoft.Rest.Azure.IAzureClient
type SubscriptionClient = class
    inherit ServiceClient<SubscriptionClient>
    interface ISubscriptionClient
    interface IDisposable
    interface IAzureClient
Public Class SubscriptionClient
Inherits ServiceClient(Of SubscriptionClient)
Implements IAzureClient, IDisposable, ISubscriptionClient
Inheritance
Implements

Constructors

SubscriptionClient(DelegatingHandler[])

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(HttpClient, Boolean)

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(Uri, DelegatingHandler[])

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the SubscriptionClient class.

Properties

AcceptLanguage

The preferred language for the response.

ApiVersion

The API version to use for the operation.

BaseUri

The base URI of the service.

Credentials

Credentials needed for the client to connect to Azure.

DeserializationSettings

Gets or sets json deserialization settings.

FirstMessageHandler (Inherited from ServiceClient<T>)
GenerateClientRequestId

Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

HttpClient (Inherited from ServiceClient<T>)
HttpClientHandler (Inherited from ServiceClient<T>)
HttpMessageHandlers (Inherited from ServiceClient<T>)
LongRunningOperationRetryTimeout

The retry timeout in seconds for Long Running Operations. Default value is 30.

SerializationSettings

Gets or sets json serialization settings.

Subscriptions

Gets the ISubscriptionsOperations.

Tenants

Gets the ITenantsOperations.

UserAgent (Inherited from ServiceClient<T>)

Methods

CheckResourceNameWithHttpMessagesAsync(ResourceName, Dictionary<String,List<String>>, CancellationToken)

Checks resource name validity

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
SetRetryPolicy(RetryPolicy) (Inherited from ServiceClient<T>)
SetUserAgent(String) (Inherited from ServiceClient<T>)
SetUserAgent(String, String) (Inherited from ServiceClient<T>)

Extension Methods

CheckResourceName(ISubscriptionClient, ResourceName)

Checks resource name validity

CheckResourceNameAsync(ISubscriptionClient, ResourceName, CancellationToken)

Checks resource name validity

Applies to