ArmAppServiceModelFactory.AppServiceEnvironmentData Method

Definition

Overloads

Name Description
AppServiceEnvironmentData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, String, Nullable<ProvisioningState>, Nullable<HostingEnvironmentStatus>, AppServiceVirtualNetworkProfile, Nullable<LoadBalancingMode>, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IEnumerable<AppServiceNameValuePair>, IEnumerable<String>, Nullable<Boolean>, Nullable<AppServiceEnvironmentUpgradePreference>, Nullable<Int32>, Nullable<Boolean>, CustomDnsSuffixConfigurationData, AseV3NetworkingConfigurationData, Nullable<AppServiceEnvironmentUpgradeAvailability>)

Initializes a new instance of AppServiceEnvironmentData.

AppServiceEnvironmentData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<ProvisioningState>, Nullable<HostingEnvironmentStatus>, AppServiceVirtualNetworkProfile, Nullable<LoadBalancingMode>, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IEnumerable<AppServiceNameValuePair>, IEnumerable<String>, Nullable<Boolean>, Nullable<AppServiceEnvironmentUpgradePreference>, Nullable<Int32>, Nullable<Boolean>, CustomDnsSuffixConfigurationData, AseV3NetworkingConfigurationData, Nullable<AppServiceEnvironmentUpgradeAvailability>, String)

Initializes a new instance of AppServiceEnvironmentData.

AppServiceEnvironmentData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, String, Nullable<ProvisioningState>, Nullable<HostingEnvironmentStatus>, AppServiceVirtualNetworkProfile, Nullable<LoadBalancingMode>, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IEnumerable<AppServiceNameValuePair>, IEnumerable<String>, Nullable<Boolean>, Nullable<AppServiceEnvironmentUpgradePreference>, Nullable<Int32>, Nullable<Boolean>, CustomDnsSuffixConfigurationData, AseV3NetworkingConfigurationData, Nullable<AppServiceEnvironmentUpgradeAvailability>)

Source:
ArmAppServiceModelFactory.cs

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, string kind = 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);
static member AppServiceEnvironmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * 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> -> 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 kind As String = 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) 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.

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: AppServiceEnvironmentResource.kind

provisioningState
Nullable<ProvisioningState>

Provisioning state of the App Service Environment. Serialized Name: AppServiceEnvironmentResource.properties.provisioningState

status
Nullable<HostingEnvironmentStatus>

Current status of the App Service Environment. Serialized Name: AppServiceEnvironmentResource.properties.status

virtualNetwork
AppServiceVirtualNetworkProfile

Description of the Virtual Network. Serialized Name: AppServiceEnvironmentResource.properties.virtualNetwork

internalLoadBalancingMode
Nullable<LoadBalancingMode>

Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Serialized Name: AppServiceEnvironmentResource.properties.internalLoadBalancingMode

multiSize
String

Front-end VM size, e.g. "Medium", "Large". Serialized Name: AppServiceEnvironmentResource.properties.multiSize

multiRoleCount
Nullable<Int32>

Number of front-end instances. Serialized Name: AppServiceEnvironmentResource.properties.multiRoleCount

ipSslAddressCount
Nullable<Int32>

Number of IP SSL addresses reserved for the App Service Environment. Serialized Name: AppServiceEnvironmentResource.properties.ipsslAddressCount

dnsSuffix
String

DNS suffix of the App Service Environment. Serialized Name: AppServiceEnvironmentResource.properties.dnsSuffix

maximumNumberOfMachines
Nullable<Int32>

Maximum number of VMs in the App Service Environment. Serialized Name: AppServiceEnvironmentResource.properties.maximumNumberOfMachines

frontEndScaleFactor
Nullable<Int32>

Scale factor for front-ends. Serialized Name: AppServiceEnvironmentResource.properties.frontEndScaleFactor

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). Serialized Name: AppServiceEnvironmentResource.properties.suspended

clusterSettings
IEnumerable<AppServiceNameValuePair>

Custom settings for changing the behavior of the App Service Environment. Serialized Name: AppServiceEnvironmentResource.properties.clusterSettings

userWhitelistedIPRanges
IEnumerable<String>

User added ip ranges to whitelist on ASE db Serialized Name: AppServiceEnvironmentResource.properties.userWhitelistedIpRanges

hasLinuxWorkers
Nullable<Boolean>

Flag that displays whether an ASE has linux workers or not Serialized Name: AppServiceEnvironmentResource.properties.hasLinuxWorkers

upgradePreference
Nullable<AppServiceEnvironmentUpgradePreference>

Upgrade Preference Serialized Name: AppServiceEnvironmentResource.properties.upgradePreference

dedicatedHostCount
Nullable<Int32>

Dedicated Host Count Serialized Name: AppServiceEnvironmentResource.properties.dedicatedHostCount

isZoneRedundant
Nullable<Boolean>

Whether or not this App Service Environment is zone-redundant. Serialized Name: AppServiceEnvironmentResource.properties.zoneRedundant

customDnsSuffixConfiguration
CustomDnsSuffixConfigurationData

Full view of the custom domain suffix configuration for ASEv3. Serialized Name: AppServiceEnvironmentResource.properties.customDnsSuffixConfiguration

networkingConfiguration
AseV3NetworkingConfigurationData

Full view of networking configuration for an ASE. Serialized Name: AppServiceEnvironmentResource.properties.networkingConfiguration

upgradeAvailability
Nullable<AppServiceEnvironmentUpgradeAvailability>

Whether an upgrade is available for this App Service Environment. Serialized Name: AppServiceEnvironmentResource.properties.upgradeAvailability

Returns

A new AppServiceEnvironmentData instance for mocking.

Applies to

AppServiceEnvironmentData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<ProvisioningState>, Nullable<HostingEnvironmentStatus>, AppServiceVirtualNetworkProfile, Nullable<LoadBalancingMode>, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IEnumerable<AppServiceNameValuePair>, IEnumerable<String>, Nullable<Boolean>, Nullable<AppServiceEnvironmentUpgradePreference>, Nullable<Int32>, Nullable<Boolean>, CustomDnsSuffixConfigurationData, AseV3NetworkingConfigurationData, Nullable<AppServiceEnvironmentUpgradeAvailability>, String)

Source:
ArmAppServiceModelFactory.cs
Source:
ArmAppServiceModelFactory.cs

Initializes a new instance of AppServiceEnvironmentData.

public static Azure.ResourceManager.AppService.AppServiceEnvironmentData AppServiceEnvironmentData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary<string,string> tags, Azure.Core.AzureLocation location, Azure.ResourceManager.AppService.Models.ProvisioningState? provisioningState, 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);
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 (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, tags As IDictionary(Of String, String), location As AzureLocation, provisioningState As Nullable(Of ProvisioningState), 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
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. 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 AppServiceEnvironmentData instance for mocking.

Applies to