WebSiteManagementClient Class

 

Represents a Websites service management client.

Namespace:   Microsoft.WindowsAzure.Management.WebSites
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Common.ServiceClient<T>
    Microsoft.WindowsAzure.Management.WebSites.WebSiteManagementClient

Syntax

public class WebSiteManagementClient : ServiceClient<WebSiteManagementClient>, 
    IWebSiteManagementClient, IDisposable
public ref class WebSiteManagementClient : ServiceClient<WebSiteManagementClient^>, 
    IWebSiteManagementClient, IDisposable
type WebSiteManagementClient = 
    class
        inherit ServiceClient<WebSiteManagementClient>
        interface IWebSiteManagementClient
        interface IDisposable
    end
Public Class WebSiteManagementClient
    Inherits ServiceClient(Of WebSiteManagementClient)
    Implements IWebSiteManagementClient, IDisposable

Constructors

Name Description
System_CAPS_pubmethod WebSiteManagementClient(SubscriptionCloudCredentials)

Initializes a new instance of the WebSiteManagementClient class.

System_CAPS_pubmethod WebSiteManagementClient(SubscriptionCloudCredentials, HttpClient)

Initializes a new instance of the WebSiteManagementClient class.

System_CAPS_pubmethod WebSiteManagementClient(SubscriptionCloudCredentials, Uri)

Initializes a new instance of the WebSiteManagementClient class.

System_CAPS_pubmethod WebSiteManagementClient(SubscriptionCloudCredentials, Uri, HttpClient)

Initializes a new instance of the WebSiteManagementClient class.

Properties

Name Description
System_CAPS_pubproperty ApiVersion

Gets the API version.

System_CAPS_pubproperty BaseUri

Gets the URI that is used as the base for all Service Management requests.

System_CAPS_pubproperty Credentials

Gets an SubscriptionCloudCredentials object that specifies the subscription credentials.

System_CAPS_pubproperty HttpClient

Gets the HttpClient that is used for making HTTP requests.(Inherited from ServiceClient<T>.)

System_CAPS_protproperty HttpMessageHandler

Gets a reference to an HTTP handler.(Inherited from ServiceClient<T>.)

System_CAPS_pubproperty LongRunningOperationInitialTimeout

Gets or sets the initial timeout for Long Running Operations.

System_CAPS_pubproperty LongRunningOperationRetryTimeout

Gets or sets the retry timeout for Long Running Operations.

System_CAPS_pubproperty UserAgent

Gets the UserAgent collection. This collection can be modified with custom user agent strings.(Inherited from ServiceClient<T>.)

System_CAPS_pubproperty WebHostingPlans

Operations for managing web hosting plans beneath your subscription.

System_CAPS_pubproperty WebSites

Gets an IWebSiteOperations object that specifies the operations for managing the websites in a web space.

System_CAPS_pubproperty WebSpaces

Gets an IWebSpaceOperations object that specifies the operations for managing web spaces in a subscription.

Methods

Name Description
System_CAPS_protmethod Clone(ServiceClient<WebSiteManagementClient>)

Creates a deep copy of the WebSiteManagementClient object.(Overrides ServiceClient<T>.Clone(ServiceClient<T>).)

System_CAPS_pubmethodSystem_CAPS_static Create(IDictionary<String, Object>)

Creates a Websites service management client.

System_CAPS_pubmethod Dispose()

Releases the resources that are used by the current instance of the ServiceClient<T> class.(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetOperationStatusAsync(String, String, String, CancellationToken)

The Get Operation Status operation returns the status of the specified operation. After calling a long-running operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, timed out, or is still in progress. (see https://msdn.microsoft.com/en-us/library/windowsazure/ee460783.aspx for more information)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod InitializeHttpClient(HttpMessageHandler)

Initializes HttpClient.(Inherited from ServiceClient<T>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RegisterSubscriptionAsync(CancellationToken)

Asynchronously registers a subscription to use Microsoft Azure Websites.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UnregisterSubscriptionAsync(CancellationToken)

Asynchronously unregisters a subscription to use Microsoft Azure Websites.

System_CAPS_pubmethod WithHandler(DelegatingHandler)

Creates a Websites service management client with a specified handler.(Overrides ServiceClient<T>.WithHandler(DelegatingHandler).)

System_CAPS_protmethod WithHandler(ServiceClient<T>, DelegatingHandler)

Extends the ServiceClient with a new handler.(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod WithHandlers(IEnumerable<DelegatingHandler>)

(Inherited from ServiceClient<T>.)

Extension Methods

Name Description
System_CAPS_pubmethod GetOperationStatus(String, String, String)

The Get Operation Status operation returns the status of the specified operation. After calling a long-running operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, timed out, or is still in progress. (see https://msdn.microsoft.com/en-us/library/windowsazure/ee460783.aspx for more information)(Defined by WebSiteManagementClientExtensions.)

System_CAPS_pubmethod GetOperationStatusAsync(String, String, String)

The Get Operation Status operation returns the status of the specified operation. After calling a long-running operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, timed out, or is still in progress. (see https://msdn.microsoft.com/en-us/library/windowsazure/ee460783.aspx for more information)(Defined by WebSiteManagementClientExtensions.)

System_CAPS_pubmethod RegisterSubscription()

Register your subscription to use Azure Web Sites.(Defined by WebSiteManagementClientExtensions.)

System_CAPS_pubmethod RegisterSubscriptionAsync()

Register your subscription to use Azure Web Sites.(Defined by WebSiteManagementClientExtensions.)

System_CAPS_pubmethod UnregisterSubscription()

Unregister your subscription to use Azure Web Sites.(Defined by WebSiteManagementClientExtensions.)

System_CAPS_pubmethod UnregisterSubscriptionAsync()

Unregister your subscription to use Azure Web Sites.(Defined by WebSiteManagementClientExtensions.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top