ArmAppServiceModelFactory.AppServicePlanData Method

Definition

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 kind = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = 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, bool? isAsyncScalingEnabled = default, Azure.ResourceManager.AppService.Models.DefaultIdentity planDefaultIdentity = default, bool? isCustomMode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.RegistryAdapter> registryAdapters = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.InstallScript> installScripts = default, string virtualNetworkSubnetId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.StorageMount> storageMounts = default, bool? rdpEnabled = 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 * Azure.ResourceManager.Models.ManagedServiceIdentity * 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> * Nullable<bool> * Azure.ResourceManager.AppService.Models.DefaultIdentity * Nullable<bool> * seq<Azure.ResourceManager.AppService.Models.RegistryAdapter> * seq<Azure.ResourceManager.AppService.Models.InstallScript> * string * seq<Azure.ResourceManager.AppService.Models.StorageMount> * Nullable<bool> -> 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 kind As String = Nothing, Optional identity As ManagedServiceIdentity = 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 isAsyncScalingEnabled As Nullable(Of Boolean) = Nothing, Optional planDefaultIdentity As DefaultIdentity = Nothing, Optional isCustomMode As Nullable(Of Boolean) = Nothing, Optional registryAdapters As IEnumerable(Of RegistryAdapter) = Nothing, Optional installScripts As IEnumerable(Of InstallScript) = Nothing, Optional virtualNetworkSubnetId As String = Nothing, Optional storageMounts As IEnumerable(Of StorageMount) = Nothing, Optional rdpEnabled As Nullable(Of Boolean) = Nothing) As AppServicePlanData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
AppServiceSkuDescription

Description of a SKU for a scalable resource. Serialized Name: AppServicePlan.sku

extendedLocation
ExtendedLocation

Extended Location. Serialized Name: AppServicePlan.extendedLocation

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. Serialized Name: AppServicePlan.kind

identity
ManagedServiceIdentity

Managed service identity. Serialized Name: AppServicePlan.identity

workerTierName
String

Target worker tier assigned to the App Service plan. Serialized Name: AppServicePlan.properties.workerTierName

status
Nullable<AppServicePlanStatus>

App Service plan status. Serialized Name: AppServicePlan.properties.status

subscription
String

App Service plan subscription. Serialized Name: AppServicePlan.properties.subscription

hostingEnvironmentProfile
HostingEnvironmentProfile

Specification for the App Service Environment to use for the App Service plan. Serialized Name: AppServicePlan.properties.hostingEnvironmentProfile

maximumNumberOfWorkers
Nullable<Int32>

Maximum number of instances that can be assigned to this App Service plan. Serialized Name: AppServicePlan.properties.maximumNumberOfWorkers

numberOfWorkers
Nullable<Int32>

The number of instances that are assigned to this App Service plan. Serialized Name: AppServicePlan.properties.numberOfWorkers

geoRegion
String

Geographical location for the App Service plan. Serialized Name: AppServicePlan.properties.geoRegion

isPerSiteScaling
Nullable<Boolean>

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. Serialized Name: AppServicePlan.properties.perSiteScaling

isElasticScaleEnabled
Nullable<Boolean>

ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku Serialized Name: AppServicePlan.properties.elasticScaleEnabled

maximumElasticWorkerCount
Nullable<Int32>

Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan Serialized Name: AppServicePlan.properties.maximumElasticWorkerCount

numberOfSites
Nullable<Int32>

Number of apps assigned to this App Service plan. Serialized Name: AppServicePlan.properties.numberOfSites

isSpot
Nullable<Boolean>

If <code>true</code>, this App Service Plan owns spot instances. Serialized Name: AppServicePlan.properties.isSpot

spotExpireOn
Nullable<DateTimeOffset>

The time when the server farm expires. Valid only if it is a spot server farm. Serialized Name: AppServicePlan.properties.spotExpirationTime

freeOfferExpireOn
Nullable<DateTimeOffset>

The time when the server farm free offer expires. Serialized Name: AppServicePlan.properties.freeOfferExpirationTime

resourceGroup
String

Resource group of the App Service plan. Serialized Name: AppServicePlan.properties.resourceGroup

isReserved
Nullable<Boolean>

If Linux app service plan <code>true</code>, <code>false</code> otherwise. Serialized Name: AppServicePlan.properties.reserved

isXenon
Nullable<Boolean>

Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. Serialized Name: AppServicePlan.properties.isXenon

isHyperV
Nullable<Boolean>

If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. Serialized Name: AppServicePlan.properties.hyperV

targetWorkerCount
Nullable<Int32>

Scaling worker count. Serialized Name: AppServicePlan.properties.targetWorkerCount

targetWorkerSizeId
Nullable<Int32>

Scaling worker size ID. Serialized Name: AppServicePlan.properties.targetWorkerSizeId

provisioningState
Nullable<ProvisioningState>

Provisioning state of the App Service Plan. Serialized Name: AppServicePlan.properties.provisioningState

kubeEnvironmentProfile
KubeEnvironmentProfile

Specification for the Kubernetes Environment to use for the App Service plan. Serialized Name: AppServicePlan.properties.kubeEnvironmentProfile

isZoneRedundant
Nullable<Boolean>

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. Serialized Name: AppServicePlan.properties.zoneRedundant

isAsyncScalingEnabled
Nullable<Boolean>

If <code>true</code>, this App Service Plan will attempt to scale asynchronously if there are insufficient workers to scale synchronously. If <code>false</code>, this App Service Plan will only attempt sync scaling. Serialized Name: AppServicePlan.properties.asyncScalingEnabled

planDefaultIdentity
DefaultIdentity

Identity to use by platform for various features and integrations using managed identity. Serialized Name: AppServicePlan.properties.planDefaultIdentity

isCustomMode
Nullable<Boolean>

Whether this server farm is in custom mode. Serialized Name: AppServicePlan.properties.isCustomMode

registryAdapters
IEnumerable<RegistryAdapter>

Registry adapters associated with this App Service plan. Serialized Name: AppServicePlan.properties.registryAdapters

installScripts
IEnumerable<InstallScript>

Install scripts associated with this App Service plan. Serialized Name: AppServicePlan.properties.installScripts

virtualNetworkSubnetId
String

All network settings for the server farm. Serialized Name: AppServicePlan.properties.network

storageMounts
IEnumerable<StorageMount>

Storage mounts associated with this App Service plan. Serialized Name: AppServicePlan.properties.storageMounts

rdpEnabled
Nullable<Boolean>

If <code>true</code>, RDP access is enabled for this App Service plan. Only applicable for IsCustomMode ASPs. If <code>false</code>, RDP access is disabled. Serialized Name: AppServicePlan.properties.rdpEnabled

Returns

A new AppServicePlanData instance for mocking.

Applies to