WebSiteManagementClient class
- Extends
Constructors
Web |
Initializes a new instance of the WebSiteManagementClient class. |
Web |
Properties
Inherited Properties
pipeline | The pipeline used by this client to make requests |
Methods
Inherited Methods
send |
Send an HTTP request that is populated using the provided OperationSpec. |
send |
Send the provided httpRequest. |
Constructor Details
WebSiteManagementClient(TokenCredential, string, WebSiteManagementClientOptionalParams)
Initializes a new instance of the WebSiteManagementClient class.
new WebSiteManagementClient(credentials: TokenCredential, subscriptionId: string, options?: WebSiteManagementClientOptionalParams)
Parameters
- credentials
- TokenCredential
Subscription credentials which uniquely identify client subscription.
- subscriptionId
-
string
Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
The parameter options
WebSiteManagementClient(TokenCredential, WebSiteManagementClientOptionalParams)
new WebSiteManagementClient(credentials: TokenCredential, options?: WebSiteManagementClientOptionalParams)
Parameters
- credentials
- TokenCredential
Property Details
$host
$host: string
Property Value
string
apiVersion
apiVersion: string
Property Value
string
appServiceCertificateOrders
appServiceEnvironments
appServicePlans
certificateOrdersDiagnostics
certificateOrdersDiagnostics: CertificateOrdersDiagnostics
Property Value
certificateRegistrationProvider
certificateRegistrationProvider: CertificateRegistrationProvider
Property Value
certificates
containerApps
containerAppsRevisions
deletedWebApps
diagnostics
domainRegistrationProvider
domains
getUsagesInLocation
global
kubeEnvironments
provider
recommendations
resourceHealthMetadataOperations
resourceHealthMetadataOperations: ResourceHealthMetadataOperations
Property Value
staticSites
subscriptionId
subscriptionId?: string
Property Value
string
topLevelDomains
webApps
workflowRunActionRepetitions
workflowRunActionRepetitions: WorkflowRunActionRepetitions
Property Value
workflowRunActionRepetitionsRequestHistories
workflowRunActionRepetitionsRequestHistories: WorkflowRunActionRepetitionsRequestHistories
Property Value
workflowRunActions
workflowRunActionScopeRepetitions
workflowRunActionScopeRepetitions: WorkflowRunActionScopeRepetitions
Property Value
workflowRuns
workflows
workflowTriggerHistories
workflowTriggers
workflowVersions
Inherited Property Details
pipeline
The pipeline used by this client to make requests
pipeline: Pipeline
Property Value
Inherited From coreClient.ServiceClient.pipeline
Method Details
checkNameAvailability(string, string, CheckNameAvailabilityOptionalParams)
Description for Check if a resource name is available.
function checkNameAvailability(name: string, typeParam: string, options?: CheckNameAvailabilityOptionalParams): Promise<ResourceNameAvailability>
Parameters
- name
-
string
Resource name to verify.
- typeParam
-
string
Resource type used for verification.
The options parameters.
Returns
Promise<ResourceNameAvailability>
getPublishingUser(GetPublishingUserOptionalParams)
Description for Gets publishing user
function getPublishingUser(options?: GetPublishingUserOptionalParams): Promise<User>
Parameters
- options
- GetPublishingUserOptionalParams
The options parameters.
Returns
Promise<User>
getSourceControl(string, GetSourceControlOptionalParams)
Description for Gets source control token
function getSourceControl(sourceControlType: string, options?: GetSourceControlOptionalParams): Promise<SourceControl>
Parameters
- sourceControlType
-
string
Type of source control
- options
- GetSourceControlOptionalParams
The options parameters.
Returns
Promise<SourceControl>
getSubscriptionDeploymentLocations(GetSubscriptionDeploymentLocationsOptionalParams)
Description for Gets list of available geo regions plus ministamps
function getSubscriptionDeploymentLocations(options?: GetSubscriptionDeploymentLocationsOptionalParams): Promise<DeploymentLocations>
Parameters
The options parameters.
Returns
Promise<DeploymentLocations>
listAseRegions(ListAseRegionsOptionalParams)
Description for get a list of available ASE regions and its supported Skus.
function listAseRegions(options?: ListAseRegionsOptionalParams): PagedAsyncIterableIterator<AseRegion, AseRegion[], PageSettings>
Parameters
- options
- ListAseRegionsOptionalParams
The options parameters.
Returns
listBillingMeters(ListBillingMetersOptionalParams)
Description for Gets a list of meters for a given location.
function listBillingMeters(options?: ListBillingMetersOptionalParams): PagedAsyncIterableIterator<BillingMeter, BillingMeter[], PageSettings>
Parameters
- options
- ListBillingMetersOptionalParams
The options parameters.
Returns
listCustomHostNameSites(ListCustomHostNameSitesOptionalParams)
Get custom hostnames under this subscription
function listCustomHostNameSites(options?: ListCustomHostNameSitesOptionalParams): PagedAsyncIterableIterator<CustomHostnameSites, CustomHostnameSites[], PageSettings>
Parameters
The options parameters.
Returns
listGeoRegions(ListGeoRegionsOptionalParams)
Description for Get a list of available geographical regions.
function listGeoRegions(options?: ListGeoRegionsOptionalParams): PagedAsyncIterableIterator<GeoRegion, GeoRegion[], PageSettings>
Parameters
- options
- ListGeoRegionsOptionalParams
The options parameters.
Returns
listPremierAddOnOffers(ListPremierAddOnOffersOptionalParams)
Description for List all premier add-on offers.
function listPremierAddOnOffers(options?: ListPremierAddOnOffersOptionalParams): PagedAsyncIterableIterator<PremierAddOnOffer, PremierAddOnOffer[], PageSettings>
Parameters
The options parameters.
Returns
listSiteIdentifiersAssignedToHostName(NameIdentifier, ListSiteIdentifiersAssignedToHostNameOptionalParams)
Description for List all apps that are assigned to a hostname.
function listSiteIdentifiersAssignedToHostName(nameIdentifier: NameIdentifier, options?: ListSiteIdentifiersAssignedToHostNameOptionalParams): PagedAsyncIterableIterator<Identifier, Identifier[], PageSettings>
Parameters
- nameIdentifier
- NameIdentifier
Hostname information.
The options parameters.
Returns
listSkus(ListSkusOptionalParams)
Description for List all SKUs.
function listSkus(options?: ListSkusOptionalParams): Promise<SkuInfos>
Parameters
- options
- ListSkusOptionalParams
The options parameters.
Returns
Promise<SkuInfos>
listSourceControls(ListSourceControlsOptionalParams)
Description for Gets the source controls available for Azure websites.
function listSourceControls(options?: ListSourceControlsOptionalParams): PagedAsyncIterableIterator<SourceControl, SourceControl[], PageSettings>
Parameters
- options
- ListSourceControlsOptionalParams
The options parameters.
Returns
move(string, CsmMoveResourceEnvelope, MoveOptionalParams)
Description for Move resources between resource groups.
function move(resourceGroupName: string, moveResourceEnvelope: CsmMoveResourceEnvelope, options?: MoveOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- moveResourceEnvelope
- CsmMoveResourceEnvelope
Object that represents the resource to move.
- options
- MoveOptionalParams
The options parameters.
Returns
Promise<void>
updatePublishingUser(User, UpdatePublishingUserOptionalParams)
Description for Updates publishing user
function updatePublishingUser(userDetails: User, options?: UpdatePublishingUserOptionalParams): Promise<User>
Parameters
- userDetails
- User
Details of publishing user
The options parameters.
Returns
Promise<User>
updateSourceControl(string, SourceControl, UpdateSourceControlOptionalParams)
Description for Updates source control token
function updateSourceControl(sourceControlType: string, requestMessage: SourceControl, options?: UpdateSourceControlOptionalParams): Promise<SourceControl>
Parameters
- sourceControlType
-
string
Type of source control
- requestMessage
- SourceControl
Source control token information
The options parameters.
Returns
Promise<SourceControl>
validate(string, ValidateRequest, ValidateOptionalParams)
Description for Validate if a resource can be created.
function validate(resourceGroupName: string, validateRequest: ValidateRequest, options?: ValidateOptionalParams): Promise<ValidateResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- validateRequest
- ValidateRequest
Request with the resources to validate.
- options
- ValidateOptionalParams
The options parameters.
Returns
Promise<ValidateResponse>
validateMove(string, CsmMoveResourceEnvelope, ValidateMoveOptionalParams)
Description for Validate whether a resource can be moved.
function validateMove(resourceGroupName: string, moveResourceEnvelope: CsmMoveResourceEnvelope, options?: ValidateMoveOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- moveResourceEnvelope
- CsmMoveResourceEnvelope
Object that represents the resource to move.
- options
- ValidateMoveOptionalParams
The options parameters.
Returns
Promise<void>
verifyHostingEnvironmentVnet(VnetParameters, VerifyHostingEnvironmentVnetOptionalParams)
Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.
function verifyHostingEnvironmentVnet(parameters: VnetParameters, options?: VerifyHostingEnvironmentVnetOptionalParams): Promise<VnetValidationFailureDetails>
Parameters
- parameters
- VnetParameters
VNET information
The options parameters.
Returns
Promise<VnetValidationFailureDetails>
Inherited Method Details
sendOperationRequest<T>(OperationArguments, OperationSpec)
Send an HTTP request that is populated using the provided OperationSpec.
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
Parameters
- operationArguments
- OperationArguments
The arguments that the HTTP request's templated values will be populated from.
- operationSpec
- OperationSpec
The OperationSpec to use to populate the httpRequest.
Returns
Promise<T>
Inherited From coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
Send the provided httpRequest.
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
Parameters
- request
- PipelineRequest
Returns
Promise<PipelineResponse>
Inherited From coreClient.ServiceClient.sendRequest