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<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<ProvisioningState>)

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<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<ProvisioningState>)

Initializes a new instance of the AppServicePlanPatchResource class.

public AppServicePlanPatchResource (string id = default, string name = default, string type = default, string kind = default, string workerTierName = default, Microsoft.Azure.Management.AppService.Fluent.Models.StatusOptions? status = default, string subscription = default, Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, int? maximumNumberOfWorkers = default, string geoRegion = default, bool? perSiteScaling = 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.AppService.Fluent.Models.ProvisioningState? provisioningState = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanPatchResource : string * string * string * string * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.StatusOptions> * string * Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentProfile * Nullable<int> * string * 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.AppService.Fluent.Models.ProvisioningState> -> Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanPatchResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind 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 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)

Parameters

id
String
name
String
type
String
kind
String

Kind of resource.

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.

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 Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'

Applies to