ArmAppServiceModelFactory.AppServicePlanData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AppServicePlanData.
public static Azure.ResourceManager.AppService.AppServicePlanData AppServicePlanData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.AppService.Models.AppServiceSkuDescription sku = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, string workerTierName = default, Azure.ResourceManager.AppService.Models.AppServicePlanStatus? status = default, string subscription = default, Azure.ResourceManager.AppService.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, int? maximumNumberOfWorkers = default, int? numberOfWorkers = default, string geoRegion = default, bool? isPerSiteScaling = default, bool? isElasticScaleEnabled = default, int? maximumElasticWorkerCount = default, int? numberOfSites = default, bool? isSpot = default, DateTimeOffset? spotExpireOn = default, DateTimeOffset? freeOfferExpireOn = default, string resourceGroup = default, bool? isReserved = default, bool? isXenon = default, bool? isHyperV = default, int? targetWorkerCount = default, int? targetWorkerSizeId = default, Azure.ResourceManager.AppService.Models.ProvisioningState? provisioningState = default, Azure.ResourceManager.AppService.Models.KubeEnvironmentProfile kubeEnvironmentProfile = default, bool? isZoneRedundant = default, string kind = default);
static member AppServicePlanData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.AppService.Models.AppServiceSkuDescription * Azure.ResourceManager.Resources.Models.ExtendedLocation * string * Nullable<Azure.ResourceManager.AppService.Models.AppServicePlanStatus> * string * Azure.ResourceManager.AppService.Models.HostingEnvironmentProfile * Nullable<int> * Nullable<int> * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.AppService.Models.ProvisioningState> * Azure.ResourceManager.AppService.Models.KubeEnvironmentProfile * Nullable<bool> * string -> Azure.ResourceManager.AppService.AppServicePlanData
Public Shared Function AppServicePlanData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As AppServiceSkuDescription = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional workerTierName As String = Nothing, Optional status As Nullable(Of AppServicePlanStatus) = Nothing, Optional subscription As String = Nothing, Optional hostingEnvironmentProfile As HostingEnvironmentProfile = Nothing, Optional maximumNumberOfWorkers As Nullable(Of Integer) = Nothing, Optional numberOfWorkers As Nullable(Of Integer) = Nothing, Optional geoRegion As String = Nothing, Optional isPerSiteScaling As Nullable(Of Boolean) = Nothing, Optional isElasticScaleEnabled As Nullable(Of Boolean) = Nothing, Optional maximumElasticWorkerCount As Nullable(Of Integer) = Nothing, Optional numberOfSites As Nullable(Of Integer) = Nothing, Optional isSpot As Nullable(Of Boolean) = Nothing, Optional spotExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional freeOfferExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional resourceGroup As String = Nothing, Optional isReserved As Nullable(Of Boolean) = Nothing, Optional isXenon As Nullable(Of Boolean) = Nothing, Optional isHyperV As Nullable(Of Boolean) = Nothing, Optional targetWorkerCount As Nullable(Of Integer) = Nothing, Optional targetWorkerSizeId As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional kubeEnvironmentProfile As KubeEnvironmentProfile = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional kind As String = Nothing) As AppServicePlanData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
Description of a SKU for a scalable resource.
- extendedLocation
- ExtendedLocation
Extended Location.
- workerTierName
- String
Target worker tier assigned to the App Service plan.
- status
- Nullable<AppServicePlanStatus>
App Service plan status.
- subscription
- String
App Service plan subscription.
- hostingEnvironmentProfile
- HostingEnvironmentProfile
Specification for the App Service Environment to use for the App Service plan.
Maximum number of instances that can be assigned to this App Service plan.
- geoRegion
- String
Geographical location for the App Service plan.
If <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan.
ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku.
Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.
- spotExpireOn
- Nullable<DateTimeOffset>
The time when the server farm expires. Valid only if it is a spot server farm.
- freeOfferExpireOn
- Nullable<DateTimeOffset>
The time when the server farm free offer expires.
- resourceGroup
- String
Resource group of the App Service plan.
If Linux app service plan <code>true</code>, <code>false</code> otherwise.
Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
- provisioningState
- Nullable<ProvisioningState>
Provisioning state of the App Service Plan.
- kubeEnvironmentProfile
- KubeEnvironmentProfile
Specification for the Kubernetes Environment to use for the App Service plan.
If <code>true</code>, this App Service Plan will perform availability zone balancing. If <code>false</code>, this App Service Plan will not perform availability zone balancing.
- kind
- String
Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
Returns
A new AppServicePlanData instance for mocking.
Applies to
Azure SDK for .NET