Condividi tramite


ArmAppServiceModelFactory.AppServiceEnvironmentData Method

Definition

Initializes a new instance of AppServiceEnvironmentData.

public static Azure.ResourceManager.AppService.AppServiceEnvironmentData AppServiceEnvironmentData (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.ProvisioningState? provisioningState = default, Azure.ResourceManager.AppService.Models.HostingEnvironmentStatus? status = default, Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkProfile virtualNetwork = default, Azure.ResourceManager.AppService.Models.LoadBalancingMode? internalLoadBalancingMode = default, string multiSize = default, int? multiRoleCount = default, int? ipSslAddressCount = default, string dnsSuffix = default, int? maximumNumberOfMachines = default, int? frontEndScaleFactor = default, bool? isSuspended = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceNameValuePair> clusterSettings = default, System.Collections.Generic.IEnumerable<string> userWhitelistedIPRanges = default, bool? hasLinuxWorkers = default, Azure.ResourceManager.AppService.Models.AppServiceEnvironmentUpgradePreference? upgradePreference = default, int? dedicatedHostCount = default, bool? isZoneRedundant = default, Azure.ResourceManager.AppService.CustomDnsSuffixConfigurationData customDnsSuffixConfiguration = default, Azure.ResourceManager.AppService.AseV3NetworkingConfigurationData networkingConfiguration = default, Azure.ResourceManager.AppService.Models.AppServiceEnvironmentUpgradeAvailability? upgradeAvailability = default, string kind = default);
static member AppServiceEnvironmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.AppService.Models.ProvisioningState> * Nullable<Azure.ResourceManager.AppService.Models.HostingEnvironmentStatus> * Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkProfile * Nullable<Azure.ResourceManager.AppService.Models.LoadBalancingMode> * string * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * Nullable<bool> * seq<Azure.ResourceManager.AppService.Models.AppServiceNameValuePair> * seq<string> * Nullable<bool> * Nullable<Azure.ResourceManager.AppService.Models.AppServiceEnvironmentUpgradePreference> * Nullable<int> * Nullable<bool> * Azure.ResourceManager.AppService.CustomDnsSuffixConfigurationData * Azure.ResourceManager.AppService.AseV3NetworkingConfigurationData * Nullable<Azure.ResourceManager.AppService.Models.AppServiceEnvironmentUpgradeAvailability> * string -> Azure.ResourceManager.AppService.AppServiceEnvironmentData
Public Shared Function AppServiceEnvironmentData (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 provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional status As Nullable(Of HostingEnvironmentStatus) = Nothing, Optional virtualNetwork As AppServiceVirtualNetworkProfile = Nothing, Optional internalLoadBalancingMode As Nullable(Of LoadBalancingMode) = Nothing, Optional multiSize As String = Nothing, Optional multiRoleCount As Nullable(Of Integer) = Nothing, Optional ipSslAddressCount As Nullable(Of Integer) = Nothing, Optional dnsSuffix As String = Nothing, Optional maximumNumberOfMachines As Nullable(Of Integer) = Nothing, Optional frontEndScaleFactor As Nullable(Of Integer) = Nothing, Optional isSuspended As Nullable(Of Boolean) = Nothing, Optional clusterSettings As IEnumerable(Of AppServiceNameValuePair) = Nothing, Optional userWhitelistedIPRanges As IEnumerable(Of String) = Nothing, Optional hasLinuxWorkers As Nullable(Of Boolean) = Nothing, Optional upgradePreference As Nullable(Of AppServiceEnvironmentUpgradePreference) = Nothing, Optional dedicatedHostCount As Nullable(Of Integer) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional customDnsSuffixConfiguration As CustomDnsSuffixConfigurationData = Nothing, Optional networkingConfiguration As AseV3NetworkingConfigurationData = Nothing, Optional upgradeAvailability As Nullable(Of AppServiceEnvironmentUpgradeAvailability) = Nothing, Optional kind As String = Nothing) As AppServiceEnvironmentData

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.

provisioningState
Nullable<ProvisioningState>

Provisioning state of the App Service Environment.

status
Nullable<HostingEnvironmentStatus>

Current status of the App Service Environment.

virtualNetwork
AppServiceVirtualNetworkProfile

Description of the Virtual Network.

internalLoadBalancingMode
Nullable<LoadBalancingMode>

Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.

multiSize
String

Front-end VM size, e.g. "Medium", "Large".

multiRoleCount
Nullable<Int32>

Number of front-end instances.

ipSslAddressCount
Nullable<Int32>

Number of IP SSL addresses reserved for the App Service Environment.

dnsSuffix
String

DNS suffix of the App Service Environment.

maximumNumberOfMachines
Nullable<Int32>

Maximum number of VMs in the App Service Environment.

frontEndScaleFactor
Nullable<Int32>

Scale factor for front-ends.

isSuspended
Nullable<Boolean>

<code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>. The environment can be suspended, e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic).

clusterSettings
IEnumerable<AppServiceNameValuePair>

Custom settings for changing the behavior of the App Service Environment.

userWhitelistedIPRanges
IEnumerable<String>

User added ip ranges to whitelist on ASE db.

hasLinuxWorkers
Nullable<Boolean>

Flag that displays whether an ASE has linux workers or not.

upgradePreference
Nullable<AppServiceEnvironmentUpgradePreference>

Upgrade Preference.

dedicatedHostCount
Nullable<Int32>

Dedicated Host Count.

isZoneRedundant
Nullable<Boolean>

Whether or not this App Service Environment is zone-redundant.

customDnsSuffixConfiguration
CustomDnsSuffixConfigurationData

Full view of the custom domain suffix configuration for ASEv3.

networkingConfiguration
AseV3NetworkingConfigurationData

Full view of networking configuration for an ASE.

upgradeAvailability
Nullable<AppServiceEnvironmentUpgradeAvailability>

Whether an upgrade is available for this App Service Environment.

kind
String

Kind of resource.

Returns

A new AppServiceEnvironmentData instance for mocking.

Applies to