共用方式為


AppServicePlans interface

代表 AppServicePlans 的介面。

方法

beginCreateOrUpdate(string, string, AppServicePlan, AppServicePlansCreateOrUpdateOptionalParams)

建立或更新 App Service 方案的描述。

beginCreateOrUpdateAndWait(string, string, AppServicePlan, AppServicePlansCreateOrUpdateOptionalParams)

建立或更新 App Service 方案的描述。

createOrUpdateVnetRoute(string, string, string, string, VnetRoute, AppServicePlansCreateOrUpdateVnetRouteOptionalParams)

在 App Service 方案中建立或更新虛擬網路路由的描述。

delete(string, string, AppServicePlansDeleteOptionalParams)

刪除 App Service 方案的描述。

deleteHybridConnection(string, string, string, string, AppServicePlansDeleteHybridConnectionOptionalParams)

在 App Service 方案中刪除混合式連線的描述。

deleteVnetRoute(string, string, string, string, AppServicePlansDeleteVnetRouteOptionalParams)

在 App Service 方案中刪除虛擬網路路由的描述。

get(string, string, AppServicePlansGetOptionalParams)

取得 App Service 方案的描述。

getHybridConnection(string, string, string, string, AppServicePlansGetHybridConnectionOptionalParams)

在 App Service 方案中擷取混合式連線的描述。

getHybridConnectionPlanLimit(string, string, AppServicePlansGetHybridConnectionPlanLimitOptionalParams)

取得 App Service 方案中允許的混合式連線數目上限的描述。

getRouteForVnet(string, string, string, string, AppServicePlansGetRouteForVnetOptionalParams)

在 App Service 方案中取得虛擬網路路由的描述。

getServerFarmInstanceDetails(string, string, AppServicePlansGetServerFarmInstanceDetailsOptionalParams)

取得應用程式服務方案的執行個體詳細資料的描述。

getServerFarmRdpPassword(string, string, AppServicePlansGetServerFarmRdpPasswordOptionalParams)

取得 IsCustomMode ServerFarm 的 RDP 密碼的描述。

getServerFarmSkus(string, string, AppServicePlansGetServerFarmSkusOptionalParams)

取得指定 App Service 方案的所有可選取 SKU 的描述

getVnetFromServerFarm(string, string, string, AppServicePlansGetVnetFromServerFarmOptionalParams)

取得與 App Service 方案相關聯的虛擬網路描述。

getVnetGateway(string, string, string, string, AppServicePlansGetVnetGatewayOptionalParams)

取得虛擬網路閘道的描述。

list(AppServicePlansListOptionalParams)

取得訂用帳戶的所有 App Service 方案的描述。

listByResourceGroup(string, AppServicePlansListByResourceGroupOptionalParams)

取得資源群組中所有 App Service 方案的描述。

listCapabilities(string, string, AppServicePlansListCapabilitiesOptionalParams)

列出 App Service 方案的所有功能的描述。

listHybridConnectionKeys(string, string, string, string, AppServicePlansListHybridConnectionKeysOptionalParams)

取得混合式連線的傳送密鑰名稱和值的描述。

listHybridConnections(string, string, AppServicePlansListHybridConnectionsOptionalParams)

在 App Service 方案中擷取所有混合式連線的描述。

listRoutesForVnet(string, string, string, AppServicePlansListRoutesForVnetOptionalParams)

取得與 App Service 方案中虛擬網路相關聯的所有路由的描述。

listUsages(string, string, AppServicePlansListUsagesOptionalParams)

取得伺服器陣列使用資訊的描述

listVnets(string, string, AppServicePlansListVnetsOptionalParams)

取得與 App Service 方案相關聯的所有虛擬網路的描述。

listWebApps(string, string, AppServicePlansListWebAppsOptionalParams)

取得與 App Service 方案相關聯的所有應用程式的描述。

listWebAppsByHybridConnection(string, string, string, string, AppServicePlansListWebAppsByHybridConnectionOptionalParams)

取得 App Service 方案中使用混合式連線的所有應用程式的描述。

rebootWorker(string, string, string, AppServicePlansRebootWorkerOptionalParams)

在 App Service 方案中重新啟動背景工作電腦的描述。

recycleManagedInstanceWorker(string, string, string, AppServicePlansRecycleManagedInstanceWorkerOptionalParams)

回收受管理執行個體背景工作機器的說明。

restartWebApps(string, string, AppServicePlansRestartWebAppsOptionalParams)

重新啟動App Service 方案中所有應用程式的描述。

update(string, string, AppServicePlanPatchResource, AppServicePlansUpdateOptionalParams)

建立或更新 App Service 方案的描述。

updateVnetGateway(string, string, string, string, VnetGateway, AppServicePlansUpdateVnetGatewayOptionalParams)

更新虛擬網路閘道的描述。

updateVnetRoute(string, string, string, string, VnetRoute, AppServicePlansUpdateVnetRouteOptionalParams)

在 App Service 方案中建立或更新虛擬網路路由的描述。

方法詳細資料

beginCreateOrUpdate(string, string, AppServicePlan, AppServicePlansCreateOrUpdateOptionalParams)

建立或更新 App Service 方案的描述。

function beginCreateOrUpdate(resourceGroupName: string, name: string, appServicePlan: AppServicePlan, options?: AppServicePlansCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AppServicePlan>, AppServicePlan>>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

appServicePlan
AppServicePlan

App Service 方案的詳細數據。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<AppServicePlan>, AppServicePlan>>

beginCreateOrUpdateAndWait(string, string, AppServicePlan, AppServicePlansCreateOrUpdateOptionalParams)

建立或更新 App Service 方案的描述。

function beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, appServicePlan: AppServicePlan, options?: AppServicePlansCreateOrUpdateOptionalParams): Promise<AppServicePlan>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

appServicePlan
AppServicePlan

App Service 方案的詳細數據。

傳回

Promise<AppServicePlan>

createOrUpdateVnetRoute(string, string, string, string, VnetRoute, AppServicePlansCreateOrUpdateVnetRouteOptionalParams)

在 App Service 方案中建立或更新虛擬網路路由的描述。

function createOrUpdateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: VnetRoute, options?: AppServicePlansCreateOrUpdateVnetRouteOptionalParams): Promise<VnetRoute>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

vnetName

string

虛擬網路的名稱。

routeName

string

虛擬網路路由的名稱。

route
VnetRoute

虛擬網路路由的定義。

傳回

Promise<VnetRoute>

delete(string, string, AppServicePlansDeleteOptionalParams)

刪除 App Service 方案的描述。

function delete(resourceGroupName: string, name: string, options?: AppServicePlansDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

options
AppServicePlansDeleteOptionalParams

選項參數。

傳回

Promise<void>

deleteHybridConnection(string, string, string, string, AppServicePlansDeleteHybridConnectionOptionalParams)

在 App Service 方案中刪除混合式連線的描述。

function deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: AppServicePlansDeleteHybridConnectionOptionalParams): Promise<void>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

namespaceName

string

服務總線命名空間的名稱。

relayName

string

服務總線轉送的名稱。

傳回

Promise<void>

deleteVnetRoute(string, string, string, string, AppServicePlansDeleteVnetRouteOptionalParams)

在 App Service 方案中刪除虛擬網路路由的描述。

function deleteVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, options?: AppServicePlansDeleteVnetRouteOptionalParams): Promise<void>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

vnetName

string

虛擬網路的名稱。

routeName

string

虛擬網路路由的名稱。

傳回

Promise<void>

get(string, string, AppServicePlansGetOptionalParams)

取得 App Service 方案的描述。

function get(resourceGroupName: string, name: string, options?: AppServicePlansGetOptionalParams): Promise<AppServicePlan>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

options
AppServicePlansGetOptionalParams

選項參數。

傳回

Promise<AppServicePlan>

getHybridConnection(string, string, string, string, AppServicePlansGetHybridConnectionOptionalParams)

在 App Service 方案中擷取混合式連線的描述。

function getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: AppServicePlansGetHybridConnectionOptionalParams): Promise<HybridConnection>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

namespaceName

string

服務總線命名空間的名稱。

relayName

string

服務總線轉送的名稱。

傳回

Promise<HybridConnection>

getHybridConnectionPlanLimit(string, string, AppServicePlansGetHybridConnectionPlanLimitOptionalParams)

取得 App Service 方案中允許的混合式連線數目上限的描述。

function getHybridConnectionPlanLimit(resourceGroupName: string, name: string, options?: AppServicePlansGetHybridConnectionPlanLimitOptionalParams): Promise<HybridConnectionLimits>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

傳回

getRouteForVnet(string, string, string, string, AppServicePlansGetRouteForVnetOptionalParams)

在 App Service 方案中取得虛擬網路路由的描述。

function getRouteForVnet(resourceGroupName: string, name: string, vnetName: string, routeName: string, options?: AppServicePlansGetRouteForVnetOptionalParams): Promise<AppServicePlansGetRouteForVnetResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

vnetName

string

虛擬網路的名稱。

routeName

string

虛擬網路路由的名稱。

傳回

getServerFarmInstanceDetails(string, string, AppServicePlansGetServerFarmInstanceDetailsOptionalParams)

取得應用程式服務方案的執行個體詳細資料的描述。

function getServerFarmInstanceDetails(resourceGroupName: string, name: string, options?: AppServicePlansGetServerFarmInstanceDetailsOptionalParams): Promise<ServerFarmInstanceDetails>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

傳回

getServerFarmRdpPassword(string, string, AppServicePlansGetServerFarmRdpPasswordOptionalParams)

取得 IsCustomMode ServerFarm 的 RDP 密碼的描述。

function getServerFarmRdpPassword(resourceGroupName: string, name: string, options?: AppServicePlansGetServerFarmRdpPasswordOptionalParams): Promise<ServerFarmRdpDetails>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

傳回

getServerFarmSkus(string, string, AppServicePlansGetServerFarmSkusOptionalParams)

取得指定 App Service 方案的所有可選取 SKU 的描述

function getServerFarmSkus(resourceGroupName: string, name: string, options?: AppServicePlansGetServerFarmSkusOptionalParams): Promise<AppServicePlansGetServerFarmSkusResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱

傳回

getVnetFromServerFarm(string, string, string, AppServicePlansGetVnetFromServerFarmOptionalParams)

取得與 App Service 方案相關聯的虛擬網路描述。

function getVnetFromServerFarm(resourceGroupName: string, name: string, vnetName: string, options?: AppServicePlansGetVnetFromServerFarmOptionalParams): Promise<VnetInfoResource>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

vnetName

string

虛擬網路的名稱。

傳回

Promise<VnetInfoResource>

getVnetGateway(string, string, string, string, AppServicePlansGetVnetGatewayOptionalParams)

取得虛擬網路閘道的描述。

function getVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options?: AppServicePlansGetVnetGatewayOptionalParams): Promise<VnetGateway>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

vnetName

string

虛擬網路的名稱。

gatewayName

string

閘道名稱。 僅支援「主要」閘道。

傳回

Promise<VnetGateway>

list(AppServicePlansListOptionalParams)

取得訂用帳戶的所有 App Service 方案的描述。

function list(options?: AppServicePlansListOptionalParams): PagedAsyncIterableIterator<AppServicePlan, AppServicePlan[], PageSettings>

參數

options
AppServicePlansListOptionalParams

選項參數。

傳回

listByResourceGroup(string, AppServicePlansListByResourceGroupOptionalParams)

取得資源群組中所有 App Service 方案的描述。

function listByResourceGroup(resourceGroupName: string, options?: AppServicePlansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AppServicePlan, AppServicePlan[], PageSettings>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

傳回

listCapabilities(string, string, AppServicePlansListCapabilitiesOptionalParams)

列出 App Service 方案的所有功能的描述。

function listCapabilities(resourceGroupName: string, name: string, options?: AppServicePlansListCapabilitiesOptionalParams): Promise<AppServicePlansListCapabilitiesResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

傳回

listHybridConnectionKeys(string, string, string, string, AppServicePlansListHybridConnectionKeysOptionalParams)

取得混合式連線的傳送密鑰名稱和值的描述。

function listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: AppServicePlansListHybridConnectionKeysOptionalParams): Promise<HybridConnectionKey>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

namespaceName

string

服務總線命名空間的名稱。

relayName

string

服務總線轉送的名稱。

傳回

listHybridConnections(string, string, AppServicePlansListHybridConnectionsOptionalParams)

在 App Service 方案中擷取所有混合式連線的描述。

function listHybridConnections(resourceGroupName: string, name: string, options?: AppServicePlansListHybridConnectionsOptionalParams): PagedAsyncIterableIterator<HybridConnection, HybridConnection[], PageSettings>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

傳回

listRoutesForVnet(string, string, string, AppServicePlansListRoutesForVnetOptionalParams)

取得與 App Service 方案中虛擬網路相關聯的所有路由的描述。

function listRoutesForVnet(resourceGroupName: string, name: string, vnetName: string, options?: AppServicePlansListRoutesForVnetOptionalParams): Promise<AppServicePlansListRoutesForVnetResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

vnetName

string

虛擬網路的名稱。

傳回

listUsages(string, string, AppServicePlansListUsagesOptionalParams)

取得伺服器陣列使用資訊的描述

function listUsages(resourceGroupName: string, name: string, options?: AppServicePlansListUsagesOptionalParams): PagedAsyncIterableIterator<CsmUsageQuota, CsmUsageQuota[], PageSettings>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱

options
AppServicePlansListUsagesOptionalParams

選項參數。

傳回

listVnets(string, string, AppServicePlansListVnetsOptionalParams)

取得與 App Service 方案相關聯的所有虛擬網路的描述。

function listVnets(resourceGroupName: string, name: string, options?: AppServicePlansListVnetsOptionalParams): Promise<AppServicePlansListVnetsResponse>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

options
AppServicePlansListVnetsOptionalParams

選項參數。

傳回

listWebApps(string, string, AppServicePlansListWebAppsOptionalParams)

取得與 App Service 方案相關聯的所有應用程式的描述。

function listWebApps(resourceGroupName: string, name: string, options?: AppServicePlansListWebAppsOptionalParams): PagedAsyncIterableIterator<Site, Site[], PageSettings>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

傳回

listWebAppsByHybridConnection(string, string, string, string, AppServicePlansListWebAppsByHybridConnectionOptionalParams)

取得 App Service 方案中使用混合式連線的所有應用程式的描述。

function listWebAppsByHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams): PagedAsyncIterableIterator<string, string[], PageSettings>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

namespaceName

string

混合式連線命名空間的名稱。

relayName

string

混合式連線轉送的名稱。

傳回

rebootWorker(string, string, string, AppServicePlansRebootWorkerOptionalParams)

在 App Service 方案中重新啟動背景工作電腦的描述。

function rebootWorker(resourceGroupName: string, name: string, workerName: string, options?: AppServicePlansRebootWorkerOptionalParams): Promise<void>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

workerName

string

背景工作計算機的名稱,通常以 RD 開頭。

傳回

Promise<void>

recycleManagedInstanceWorker(string, string, string, AppServicePlansRecycleManagedInstanceWorkerOptionalParams)

回收受管理執行個體背景工作機器的說明。

function recycleManagedInstanceWorker(resourceGroupName: string, name: string, workerName: string, options?: AppServicePlansRecycleManagedInstanceWorkerOptionalParams): Promise<Operation>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

workerName

string

工作機器的名稱。

傳回

Promise<Operation>

restartWebApps(string, string, AppServicePlansRestartWebAppsOptionalParams)

重新啟動App Service 方案中所有應用程式的描述。

function restartWebApps(resourceGroupName: string, name: string, options?: AppServicePlansRestartWebAppsOptionalParams): Promise<void>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

傳回

Promise<void>

update(string, string, AppServicePlanPatchResource, AppServicePlansUpdateOptionalParams)

建立或更新 App Service 方案的描述。

function update(resourceGroupName: string, name: string, appServicePlan: AppServicePlanPatchResource, options?: AppServicePlansUpdateOptionalParams): Promise<AppServicePlan>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

appServicePlan
AppServicePlanPatchResource

App Service 方案的詳細數據。

options
AppServicePlansUpdateOptionalParams

選項參數。

傳回

Promise<AppServicePlan>

updateVnetGateway(string, string, string, string, VnetGateway, AppServicePlansUpdateVnetGatewayOptionalParams)

更新虛擬網路閘道的描述。

function updateVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, options?: AppServicePlansUpdateVnetGatewayOptionalParams): Promise<VnetGateway>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

vnetName

string

虛擬網路的名稱。

gatewayName

string

閘道名稱。 僅支援「主要」閘道。

connectionEnvelope
VnetGateway

閘道的定義。

傳回

Promise<VnetGateway>

updateVnetRoute(string, string, string, string, VnetRoute, AppServicePlansUpdateVnetRouteOptionalParams)

在 App Service 方案中建立或更新虛擬網路路由的描述。

function updateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: VnetRoute, options?: AppServicePlansUpdateVnetRouteOptionalParams): Promise<VnetRoute>

參數

resourceGroupName

string

資源所屬的資源群組名稱。

name

string

App Service 方案的名稱。

vnetName

string

虛擬網路的名稱。

routeName

string

虛擬網路路由的名稱。

route
VnetRoute

虛擬網路路由的定義。

傳回

Promise<VnetRoute>