AppServicePlans interface
Interface representing a AppServicePlans.
Methods
Method Details
beginCreateOrUpdate(string, string, AppServicePlan, AppServicePlansCreateOrUpdateOptionalParams)
Description for Creates or updates an App Service Plan.
function beginCreateOrUpdate(resourceGroupName: string, name: string, appServicePlan: AppServicePlan, options?: AppServicePlansCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AppServicePlan>, AppServicePlan>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- appServicePlan
- AppServicePlan
Details of the App Service plan.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AppServicePlan>, AppServicePlan>>
beginCreateOrUpdateAndWait(string, string, AppServicePlan, AppServicePlansCreateOrUpdateOptionalParams)
Description for Creates or updates an App Service Plan.
function beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, appServicePlan: AppServicePlan, options?: AppServicePlansCreateOrUpdateOptionalParams): Promise<AppServicePlan>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- appServicePlan
- AppServicePlan
Details of the App Service plan.
The options parameters.
Returns
Promise<AppServicePlan>
createOrUpdateVnetRoute(string, string, string, string, VnetRoute, AppServicePlansCreateOrUpdateVnetRouteOptionalParams)
Description for Create or update a Virtual Network route in an App Service plan.
function createOrUpdateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: VnetRoute, options?: AppServicePlansCreateOrUpdateVnetRouteOptionalParams): Promise<VnetRoute>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- vnetName
-
string
Name of the Virtual Network.
- routeName
-
string
Name of the Virtual Network route.
- route
- VnetRoute
Definition of the Virtual Network route.
The options parameters.
Returns
Promise<VnetRoute>
delete(string, string, AppServicePlansDeleteOptionalParams)
Description for Delete an App Service plan.
function delete(resourceGroupName: string, name: string, options?: AppServicePlansDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
The options parameters.
Returns
Promise<void>
deleteHybridConnection(string, string, string, string, AppServicePlansDeleteHybridConnectionOptionalParams)
Description for Delete a Hybrid Connection in use in an App Service plan.
function deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: AppServicePlansDeleteHybridConnectionOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- namespaceName
-
string
Name of the Service Bus namespace.
- relayName
-
string
Name of the Service Bus relay.
The options parameters.
Returns
Promise<void>
deleteVnetRoute(string, string, string, string, AppServicePlansDeleteVnetRouteOptionalParams)
Description for Delete a Virtual Network route in an App Service plan.
function deleteVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, options?: AppServicePlansDeleteVnetRouteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- vnetName
-
string
Name of the Virtual Network.
- routeName
-
string
Name of the Virtual Network route.
The options parameters.
Returns
Promise<void>
get(string, string, AppServicePlansGetOptionalParams)
Description for Get an App Service plan.
function get(resourceGroupName: string, name: string, options?: AppServicePlansGetOptionalParams): Promise<AppServicePlan>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- options
- AppServicePlansGetOptionalParams
The options parameters.
Returns
Promise<AppServicePlan>
getHybridConnection(string, string, string, string, AppServicePlansGetHybridConnectionOptionalParams)
Description for Retrieve a Hybrid Connection in use in an App Service plan.
function getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: AppServicePlansGetHybridConnectionOptionalParams): Promise<HybridConnection>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- namespaceName
-
string
Name of the Service Bus namespace.
- relayName
-
string
Name of the Service Bus relay.
The options parameters.
Returns
Promise<HybridConnection>
getHybridConnectionPlanLimit(string, string, AppServicePlansGetHybridConnectionPlanLimitOptionalParams)
Description for Get the maximum number of Hybrid Connections allowed in an App Service plan.
function getHybridConnectionPlanLimit(resourceGroupName: string, name: string, options?: AppServicePlansGetHybridConnectionPlanLimitOptionalParams): Promise<HybridConnectionLimits>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
The options parameters.
Returns
Promise<HybridConnectionLimits>
getRouteForVnet(string, string, string, string, AppServicePlansGetRouteForVnetOptionalParams)
Description for Get a Virtual Network route in an App Service plan.
function getRouteForVnet(resourceGroupName: string, name: string, vnetName: string, routeName: string, options?: AppServicePlansGetRouteForVnetOptionalParams): Promise<AppServicePlansGetRouteForVnetResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- vnetName
-
string
Name of the Virtual Network.
- routeName
-
string
Name of the Virtual Network route.
The options parameters.
Returns
getServerFarmSkus(string, string, AppServicePlansGetServerFarmSkusOptionalParams)
Description for Gets all selectable SKUs for a given App Service Plan
function getServerFarmSkus(resourceGroupName: string, name: string, options?: AppServicePlansGetServerFarmSkusOptionalParams): Promise<AppServicePlansGetServerFarmSkusResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of App Service Plan
The options parameters.
Returns
getVnetFromServerFarm(string, string, string, AppServicePlansGetVnetFromServerFarmOptionalParams)
Description for Get a Virtual Network associated with an App Service plan.
function getVnetFromServerFarm(resourceGroupName: string, name: string, vnetName: string, options?: AppServicePlansGetVnetFromServerFarmOptionalParams): Promise<VnetInfoResource>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- vnetName
-
string
Name of the Virtual Network.
The options parameters.
Returns
Promise<VnetInfoResource>
getVnetGateway(string, string, string, string, AppServicePlansGetVnetGatewayOptionalParams)
Description for Get a Virtual Network gateway.
function getVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options?: AppServicePlansGetVnetGatewayOptionalParams): Promise<VnetGateway>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- vnetName
-
string
Name of the Virtual Network.
- gatewayName
-
string
Name of the gateway. Only the 'primary' gateway is supported.
The options parameters.
Returns
Promise<VnetGateway>
list(AppServicePlansListOptionalParams)
Description for Get all App Service plans for a subscription.
function list(options?: AppServicePlansListOptionalParams): PagedAsyncIterableIterator<AppServicePlan, AppServicePlan[], PageSettings>
Parameters
The options parameters.
Returns
listByResourceGroup(string, AppServicePlansListByResourceGroupOptionalParams)
Description for Get all App Service plans in a resource group.
function listByResourceGroup(resourceGroupName: string, options?: AppServicePlansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AppServicePlan, AppServicePlan[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
The options parameters.
Returns
listCapabilities(string, string, AppServicePlansListCapabilitiesOptionalParams)
Description for List all capabilities of an App Service plan.
function listCapabilities(resourceGroupName: string, name: string, options?: AppServicePlansListCapabilitiesOptionalParams): Promise<AppServicePlansListCapabilitiesResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
The options parameters.
Returns
listHybridConnectionKeys(string, string, string, string, AppServicePlansListHybridConnectionKeysOptionalParams)
Description for Get the send key name and value of a Hybrid Connection.
function listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: AppServicePlansListHybridConnectionKeysOptionalParams): Promise<HybridConnectionKey>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- namespaceName
-
string
The name of the Service Bus namespace.
- relayName
-
string
The name of the Service Bus relay.
The options parameters.
Returns
Promise<HybridConnectionKey>
listHybridConnections(string, string, AppServicePlansListHybridConnectionsOptionalParams)
Description for Retrieve all Hybrid Connections in use in an App Service plan.
function listHybridConnections(resourceGroupName: string, name: string, options?: AppServicePlansListHybridConnectionsOptionalParams): PagedAsyncIterableIterator<HybridConnection, HybridConnection[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
The options parameters.
Returns
listRoutesForVnet(string, string, string, AppServicePlansListRoutesForVnetOptionalParams)
Description for Get all routes that are associated with a Virtual Network in an App Service plan.
function listRoutesForVnet(resourceGroupName: string, name: string, vnetName: string, options?: AppServicePlansListRoutesForVnetOptionalParams): Promise<AppServicePlansListRoutesForVnetResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- vnetName
-
string
Name of the Virtual Network.
The options parameters.
Returns
listUsages(string, string, AppServicePlansListUsagesOptionalParams)
Description for Gets server farm usage information
function listUsages(resourceGroupName: string, name: string, options?: AppServicePlansListUsagesOptionalParams): PagedAsyncIterableIterator<CsmUsageQuota, CsmUsageQuota[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of App Service Plan
The options parameters.
Returns
listVnets(string, string, AppServicePlansListVnetsOptionalParams)
Description for Get all Virtual Networks associated with an App Service plan.
function listVnets(resourceGroupName: string, name: string, options?: AppServicePlansListVnetsOptionalParams): Promise<AppServicePlansListVnetsResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
The options parameters.
Returns
Promise<AppServicePlansListVnetsResponse>
listWebApps(string, string, AppServicePlansListWebAppsOptionalParams)
Description for Get all apps associated with an App Service plan.
function listWebApps(resourceGroupName: string, name: string, options?: AppServicePlansListWebAppsOptionalParams): PagedAsyncIterableIterator<Site, Site[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
The options parameters.
Returns
listWebAppsByHybridConnection(string, string, string, string, AppServicePlansListWebAppsByHybridConnectionOptionalParams)
Description for Get all apps that use a Hybrid Connection in an App Service Plan.
function listWebAppsByHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams): PagedAsyncIterableIterator<string, string[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- namespaceName
-
string
Name of the Hybrid Connection namespace.
- relayName
-
string
Name of the Hybrid Connection relay.
The options parameters.
Returns
PagedAsyncIterableIterator<string, string[], PageSettings>
rebootWorker(string, string, string, AppServicePlansRebootWorkerOptionalParams)
Description for Reboot a worker machine in an App Service plan.
function rebootWorker(resourceGroupName: string, name: string, workerName: string, options?: AppServicePlansRebootWorkerOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- workerName
-
string
Name of worker machine, which typically starts with RD.
The options parameters.
Returns
Promise<void>
restartWebApps(string, string, AppServicePlansRestartWebAppsOptionalParams)
Description for Restart all apps in an App Service plan.
function restartWebApps(resourceGroupName: string, name: string, options?: AppServicePlansRestartWebAppsOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
The options parameters.
Returns
Promise<void>
update(string, string, AppServicePlanPatchResource, AppServicePlansUpdateOptionalParams)
Description for Creates or updates an App Service Plan.
function update(resourceGroupName: string, name: string, appServicePlan: AppServicePlanPatchResource, options?: AppServicePlansUpdateOptionalParams): Promise<AppServicePlan>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- appServicePlan
- AppServicePlanPatchResource
Details of the App Service plan.
The options parameters.
Returns
Promise<AppServicePlan>
updateVnetGateway(string, string, string, string, VnetGateway, AppServicePlansUpdateVnetGatewayOptionalParams)
Description for Update a Virtual Network gateway.
function updateVnetGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, options?: AppServicePlansUpdateVnetGatewayOptionalParams): Promise<VnetGateway>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- vnetName
-
string
Name of the Virtual Network.
- gatewayName
-
string
Name of the gateway. Only the 'primary' gateway is supported.
- connectionEnvelope
- VnetGateway
Definition of the gateway.
The options parameters.
Returns
Promise<VnetGateway>
updateVnetRoute(string, string, string, string, VnetRoute, AppServicePlansUpdateVnetRouteOptionalParams)
Description for Create or update a Virtual Network route in an App Service plan.
function updateVnetRoute(resourceGroupName: string, name: string, vnetName: string, routeName: string, route: VnetRoute, options?: AppServicePlansUpdateVnetRouteOptionalParams): Promise<VnetRoute>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the App Service plan.
- vnetName
-
string
Name of the Virtual Network.
- routeName
-
string
Name of the Virtual Network route.
- route
- VnetRoute
Definition of the Virtual Network route.
The options parameters.
Returns
Promise<VnetRoute>