Share via


AppServicePlanPatchResource Constructors

Definition

Overloads

AppServicePlanPatchResource()

Initializes a new instance of the AppServicePlanPatchResource class.

AppServicePlanPatchResource(String, String, String, String, String, Nullable<StatusOptions>, String, HostingEnvironmentProfile, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<ProvisioningState>, KubeEnvironmentProfile, Nullable<Boolean>)

Initializes a new instance of the AppServicePlanPatchResource class.

AppServicePlanPatchResource()

Initializes a new instance of the AppServicePlanPatchResource class.

public AppServicePlanPatchResource ();
Public Sub New ()

Applies to

AppServicePlanPatchResource(String, String, String, String, String, Nullable<StatusOptions>, String, HostingEnvironmentProfile, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<ProvisioningState>, KubeEnvironmentProfile, Nullable<Boolean>)

Initializes a new instance of the AppServicePlanPatchResource class.

public AppServicePlanPatchResource (string id = default, string name = default, string kind = default, string type = default, string workerTierName = default, Microsoft.Azure.Management.WebSites.Models.StatusOptions? status = default, string subscription = default, Microsoft.Azure.Management.WebSites.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, int? maximumNumberOfWorkers = default, string geoRegion = default, bool? perSiteScaling = default, bool? elasticScaleEnabled = default, int? maximumElasticWorkerCount = default, int? numberOfSites = default, bool? isSpot = default, DateTime? spotExpirationTime = default, DateTime? freeOfferExpirationTime = default, string resourceGroup = default, bool? reserved = default, bool? isXenon = default, bool? hyperV = default, int? targetWorkerCount = default, int? targetWorkerSizeId = default, Microsoft.Azure.Management.WebSites.Models.ProvisioningState? provisioningState = default, Microsoft.Azure.Management.WebSites.Models.KubeEnvironmentProfile kubeEnvironmentProfile = default, bool? zoneRedundant = default);
new Microsoft.Azure.Management.WebSites.Models.AppServicePlanPatchResource : string * string * string * string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.StatusOptions> * string * Microsoft.Azure.Management.WebSites.Models.HostingEnvironmentProfile * Nullable<int> * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<Microsoft.Azure.Management.WebSites.Models.ProvisioningState> * Microsoft.Azure.Management.WebSites.Models.KubeEnvironmentProfile * Nullable<bool> -> Microsoft.Azure.Management.WebSites.Models.AppServicePlanPatchResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional workerTierName As String = Nothing, Optional status As Nullable(Of StatusOptions) = Nothing, Optional subscription As String = Nothing, Optional hostingEnvironmentProfile As HostingEnvironmentProfile = Nothing, Optional maximumNumberOfWorkers As Nullable(Of Integer) = Nothing, Optional geoRegion As String = Nothing, Optional perSiteScaling As Nullable(Of Boolean) = Nothing, Optional elasticScaleEnabled 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 spotExpirationTime As Nullable(Of DateTime) = Nothing, Optional freeOfferExpirationTime As Nullable(Of DateTime) = Nothing, Optional resourceGroup As String = Nothing, Optional reserved As Nullable(Of Boolean) = Nothing, Optional isXenon As Nullable(Of Boolean) = Nothing, Optional hyperV 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 zoneRedundant As Nullable(Of Boolean) = Nothing)

Parameters

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

workerTierName
String

Target worker tier assigned to the App Service plan.

status
Nullable<StatusOptions>

App Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'

subscription
String

App Service plan subscription.

hostingEnvironmentProfile
HostingEnvironmentProfile

Specification for the App Service Environment to use for the App Service plan.

maximumNumberOfWorkers
Nullable<Int32>

Maximum number of instances that can be assigned to this App Service plan.

geoRegion
String

Geographical location for the App Service plan.

perSiteScaling
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.

elasticScaleEnabled
Nullable<Boolean>

ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku

maximumElasticWorkerCount
Nullable<Int32>

Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan

numberOfSites
Nullable<Int32>

Number of apps assigned to this App Service plan.

isSpot
Nullable<Boolean>

If <code>true</code>, this App Service Plan owns spot instances.

spotExpirationTime
Nullable<DateTime>

The time when the server farm expires. Valid only if it is a spot server farm.

freeOfferExpirationTime
Nullable<DateTime>

The time when the server farm free offer expires.

resourceGroup
String

Resource group of the App Service plan.

reserved
Nullable<Boolean>

If Linux app service plan <code>true</code>, <code>false</code> otherwise.

isXenon
Nullable<Boolean>

Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.

hyperV
Nullable<Boolean>

If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.

targetWorkerCount
Nullable<Int32>

Scaling worker count.

targetWorkerSizeId
Nullable<Int32>

Scaling worker size ID.

provisioningState
Nullable<ProvisioningState>

Provisioning state of the App Service Plan. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'

kubeEnvironmentProfile
KubeEnvironmentProfile

Specification for the Kubernetes Environment to use for the App Service plan.

zoneRedundant
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.

Applies to