共用方式為


WebSiteManagementClient Class

Definition

WebSite Management Client

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

Constructors

WebSiteManagementClient(DelegatingHandler[])

Initializes a new instance of the WebSiteManagementClient class.

WebSiteManagementClient(HttpClient, Boolean)

Initializes a new instance of the WebSiteManagementClient class.

WebSiteManagementClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the WebSiteManagementClient class.

WebSiteManagementClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the WebSiteManagementClient class.

WebSiteManagementClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the WebSiteManagementClient class.

WebSiteManagementClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the WebSiteManagementClient class.

WebSiteManagementClient(Uri, DelegatingHandler[])

Initializes a new instance of the WebSiteManagementClient class.

WebSiteManagementClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the WebSiteManagementClient class.

WebSiteManagementClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the WebSiteManagementClient class.

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

Initializes a new instance of the WebSiteManagementClient class.

Properties

AcceptLanguage

The preferred language for the response.

ApiVersion

API Version

AppServiceCertificateOrders

Gets the IAppServiceCertificateOrdersOperations.

AppServiceEnvironments

Gets the IAppServiceEnvironmentsOperations.

AppServicePlans

Gets the IAppServicePlansOperations.

BaseUri

The base URI of the service.

CertificateOrdersDiagnostics

Gets the ICertificateOrdersDiagnosticsOperations.

CertificateRegistrationProvider

Gets the ICertificateRegistrationProviderOperations.

Certificates

Gets the ICertificatesOperations.

ContainerApps

Gets the IContainerAppsOperations.

ContainerAppsRevisions

Gets the IContainerAppsRevisionsOperations.

Credentials

Credentials needed for the client to connect to Azure.

DeletedWebApps

Gets the IDeletedWebAppsOperations.

DeserializationSettings

Gets or sets json deserialization settings.

Diagnostics

Gets the IDiagnosticsOperations.

DomainRegistrationProvider

Gets the IDomainRegistrationProviderOperations.

Domains

Gets the IDomainsOperations.

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.

GlobalModel

Gets the IGlobalModelOperations.

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

Gets the IKubeEnvironmentsOperations.

LongRunningOperationRetryTimeout

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

Provider

Gets the IProviderOperations.

Recommendations

Gets the IRecommendationsOperations.

ResourceHealthMetadata

Gets the IResourceHealthMetadataOperations.

SerializationSettings

Gets or sets json serialization settings.

StaticSites

Gets the IStaticSitesOperations.

SubscriptionId

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

TopLevelDomains

Gets the ITopLevelDomainsOperations.

UserAgent (Inherited from ServiceClient<T>)
WebApps

Gets the IWebAppsOperations.

Methods

CheckNameAvailabilityWithHttpMessagesAsync(String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Check if a resource name is available.

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
GetPublishingUserWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

Gets publishing user

GetSourceControlWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Gets source control token

GetSubscriptionDeploymentLocationsWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

Gets list of available geo regions plus ministamps

InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
ListBillingMetersNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Gets a list of meters for a given location.

ListBillingMetersWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Gets a list of meters for a given location.

ListCustomHostNameSitesNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Get custom hostnames under this subscription

ListCustomHostNameSitesWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

Get custom hostnames under this subscription

ListGeoRegionsNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Get a list of available geographical regions.

ListGeoRegionsWithHttpMessagesAsync(String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Get a list of available geographical regions.

ListPremierAddOnOffersNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

List all premier add-on offers.

ListPremierAddOnOffersWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

List all premier add-on offers.

ListSiteIdentifiersAssignedToHostNameNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

List all apps that are assigned to a hostname.

ListSiteIdentifiersAssignedToHostNameWithHttpMessagesAsync(NameIdentifier, Dictionary<String,List<String>>, CancellationToken)

List all apps that are assigned to a hostname.

ListSkusWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

List all SKUs.

ListSourceControlsNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Gets the source controls available for Azure websites.

ListSourceControlsWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

Gets the source controls available for Azure websites.

MoveWithHttpMessagesAsync(String, CsmMoveResourceEnvelope, Dictionary<String,List<String>>, CancellationToken)

Move resources between resource groups.

SetRetryPolicy(RetryPolicy) (Inherited from ServiceClient<T>)
SetUserAgent(String, String) (Inherited from ServiceClient<T>)
SetUserAgent(String) (Inherited from ServiceClient<T>)
UpdatePublishingUserWithHttpMessagesAsync(User, Dictionary<String,List<String>>, CancellationToken)

Updates publishing user

UpdateSourceControlWithHttpMessagesAsync(String, SourceControl, Dictionary<String,List<String>>, CancellationToken)

Updates source control token

ValidateMoveWithHttpMessagesAsync(String, CsmMoveResourceEnvelope, Dictionary<String,List<String>>, CancellationToken)

Validate whether a resource can be moved.

ValidateWithHttpMessagesAsync(String, ValidateRequest, Dictionary<String,List<String>>, CancellationToken)

Validate if a resource can be created.

VerifyHostingEnvironmentVnetWithHttpMessagesAsync(VnetParameters, Dictionary<String,List<String>>, CancellationToken)

Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.

Extension Methods

CheckNameAvailability(IWebSiteManagementClient, String, String, Nullable<Boolean>)

Check if a resource name is available.

CheckNameAvailabilityAsync(IWebSiteManagementClient, String, String, Nullable<Boolean>, CancellationToken)

Check if a resource name is available.

GetPublishingUser(IWebSiteManagementClient)

Gets publishing user

GetPublishingUserAsync(IWebSiteManagementClient, CancellationToken)

Gets publishing user

GetSourceControl(IWebSiteManagementClient, String)

Gets source control token

GetSourceControlAsync(IWebSiteManagementClient, String, CancellationToken)

Gets source control token

GetSubscriptionDeploymentLocations(IWebSiteManagementClient)

Gets list of available geo regions plus ministamps

GetSubscriptionDeploymentLocationsAsync(IWebSiteManagementClient, CancellationToken)

Gets list of available geo regions plus ministamps

ListBillingMeters(IWebSiteManagementClient, String, String)

Gets a list of meters for a given location.

ListBillingMetersAsync(IWebSiteManagementClient, String, String, CancellationToken)

Gets a list of meters for a given location.

ListBillingMetersNext(IWebSiteManagementClient, String)

Gets a list of meters for a given location.

ListBillingMetersNextAsync(IWebSiteManagementClient, String, CancellationToken)

Gets a list of meters for a given location.

ListCustomHostNameSites(IWebSiteManagementClient)

Get custom hostnames under this subscription

ListCustomHostNameSitesAsync(IWebSiteManagementClient, CancellationToken)

Get custom hostnames under this subscription

ListCustomHostNameSitesNext(IWebSiteManagementClient, String)

Get custom hostnames under this subscription

ListCustomHostNameSitesNextAsync(IWebSiteManagementClient, String, CancellationToken)

Get custom hostnames under this subscription

ListGeoRegions(IWebSiteManagementClient, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

Get a list of available geographical regions.

ListGeoRegionsAsync(IWebSiteManagementClient, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Get a list of available geographical regions.

ListGeoRegionsNext(IWebSiteManagementClient, String)

Get a list of available geographical regions.

ListGeoRegionsNextAsync(IWebSiteManagementClient, String, CancellationToken)

Get a list of available geographical regions.

ListPremierAddOnOffers(IWebSiteManagementClient)

List all premier add-on offers.

ListPremierAddOnOffersAsync(IWebSiteManagementClient, CancellationToken)

List all premier add-on offers.

ListPremierAddOnOffersNext(IWebSiteManagementClient, String)

List all premier add-on offers.

ListPremierAddOnOffersNextAsync(IWebSiteManagementClient, String, CancellationToken)

List all premier add-on offers.

ListSiteIdentifiersAssignedToHostName(IWebSiteManagementClient, NameIdentifier)

List all apps that are assigned to a hostname.

ListSiteIdentifiersAssignedToHostNameAsync(IWebSiteManagementClient, NameIdentifier, CancellationToken)

List all apps that are assigned to a hostname.

ListSiteIdentifiersAssignedToHostNameNext(IWebSiteManagementClient, String)

List all apps that are assigned to a hostname.

ListSiteIdentifiersAssignedToHostNameNextAsync(IWebSiteManagementClient, String, CancellationToken)

List all apps that are assigned to a hostname.

ListSkus(IWebSiteManagementClient)

List all SKUs.

ListSkusAsync(IWebSiteManagementClient, CancellationToken)

List all SKUs.

ListSourceControls(IWebSiteManagementClient)

Gets the source controls available for Azure websites.

ListSourceControlsAsync(IWebSiteManagementClient, CancellationToken)

Gets the source controls available for Azure websites.

ListSourceControlsNext(IWebSiteManagementClient, String)

Gets the source controls available for Azure websites.

ListSourceControlsNextAsync(IWebSiteManagementClient, String, CancellationToken)

Gets the source controls available for Azure websites.

Move(IWebSiteManagementClient, String, CsmMoveResourceEnvelope)

Move resources between resource groups.

MoveAsync(IWebSiteManagementClient, String, CsmMoveResourceEnvelope, CancellationToken)

Move resources between resource groups.

UpdatePublishingUser(IWebSiteManagementClient, User)

Updates publishing user

UpdatePublishingUserAsync(IWebSiteManagementClient, User, CancellationToken)

Updates publishing user

UpdateSourceControl(IWebSiteManagementClient, String, SourceControl)

Updates source control token

UpdateSourceControlAsync(IWebSiteManagementClient, String, SourceControl, CancellationToken)

Updates source control token

Validate(IWebSiteManagementClient, String, ValidateRequest)

Validate if a resource can be created.

ValidateAsync(IWebSiteManagementClient, String, ValidateRequest, CancellationToken)

Validate if a resource can be created.

ValidateMove(IWebSiteManagementClient, String, CsmMoveResourceEnvelope)

Validate whether a resource can be moved.

ValidateMoveAsync(IWebSiteManagementClient, String, CsmMoveResourceEnvelope, CancellationToken)

Validate whether a resource can be moved.

VerifyHostingEnvironmentVnet(IWebSiteManagementClient, VnetParameters)

Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.

VerifyHostingEnvironmentVnetAsync(IWebSiteManagementClient, VnetParameters, CancellationToken)

Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.

Applies to