Compartilhar via


ArmAppServiceModelFactory.SitePatchInfo Method

Definition

Initializes a new instance of SitePatchInfo.

public static Azure.ResourceManager.AppService.Models.SitePatchInfo SitePatchInfo (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string state = default, System.Collections.Generic.IEnumerable<string> hostNames = default, string repositorySiteName = default, Azure.ResourceManager.AppService.Models.AppServiceUsageState? usageState = default, bool? isEnabled = default, System.Collections.Generic.IEnumerable<string> enabledHostNames = default, Azure.ResourceManager.AppService.Models.WebSiteAvailabilityState? availabilityState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.HostNameSslState> hostNameSslStates = default, Azure.Core.ResourceIdentifier serverFarmId = default, bool? isReserved = default, bool? isXenon = default, bool? isHyperV = default, DateTimeOffset? lastModifiedOn = default, Azure.ResourceManager.AppService.Models.SiteDnsConfig dnsConfiguration = default, Azure.ResourceManager.AppService.Models.SiteConfigProperties siteConfig = default, System.Collections.Generic.IEnumerable<string> trafficManagerHostNames = default, bool? isScmSiteAlsoStopped = default, string targetSwapSlot = default, Azure.ResourceManager.AppService.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, bool? isClientAffinityEnabled = default, bool? isClientCertEnabled = default, Azure.ResourceManager.AppService.Models.ClientCertMode? clientCertMode = default, string clientCertExclusionPaths = default, bool? isHostNameDisabled = default, string customDomainVerificationId = default, string outboundIPAddresses = default, string possibleOutboundIPAddresses = default, int? containerSize = default, int? dailyMemoryTimeQuota = default, DateTimeOffset? suspendOn = default, int? maxNumberOfWorkers = default, Azure.ResourceManager.AppService.Models.CloningInfo cloningInfo = default, string resourceGroup = default, bool? isDefaultContainer = default, string defaultHostName = default, Azure.ResourceManager.AppService.Models.SlotSwapStatus slotSwapStatus = default, bool? isHttpsOnly = default, Azure.ResourceManager.AppService.Models.RedundancyMode? redundancyMode = default, Guid? inProgressOperationId = default, bool? isStorageAccountRequired = default, string keyVaultReferenceIdentity = default, Azure.Core.ResourceIdentifier virtualNetworkSubnetId = default, string kind = default);
static member SitePatchInfo : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Models.ManagedServiceIdentity * string * seq<string> * string * Nullable<Azure.ResourceManager.AppService.Models.AppServiceUsageState> * Nullable<bool> * seq<string> * Nullable<Azure.ResourceManager.AppService.Models.WebSiteAvailabilityState> * seq<Azure.ResourceManager.AppService.Models.HostNameSslState> * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTimeOffset> * Azure.ResourceManager.AppService.Models.SiteDnsConfig * Azure.ResourceManager.AppService.Models.SiteConfigProperties * seq<string> * Nullable<bool> * string * Azure.ResourceManager.AppService.Models.HostingEnvironmentProfile * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.AppService.Models.ClientCertMode> * string * Nullable<bool> * string * string * string * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<int> * Azure.ResourceManager.AppService.Models.CloningInfo * string * Nullable<bool> * string * Azure.ResourceManager.AppService.Models.SlotSwapStatus * Nullable<bool> * Nullable<Azure.ResourceManager.AppService.Models.RedundancyMode> * Nullable<Guid> * Nullable<bool> * string * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.AppService.Models.SitePatchInfo
Public Shared Function SitePatchInfo (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional state As String = Nothing, Optional hostNames As IEnumerable(Of String) = Nothing, Optional repositorySiteName As String = Nothing, Optional usageState As Nullable(Of AppServiceUsageState) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional enabledHostNames As IEnumerable(Of String) = Nothing, Optional availabilityState As Nullable(Of WebSiteAvailabilityState) = Nothing, Optional hostNameSslStates As IEnumerable(Of HostNameSslState) = Nothing, Optional serverFarmId As ResourceIdentifier = Nothing, Optional isReserved As Nullable(Of Boolean) = Nothing, Optional isXenon As Nullable(Of Boolean) = Nothing, Optional isHyperV As Nullable(Of Boolean) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional dnsConfiguration As SiteDnsConfig = Nothing, Optional siteConfig As SiteConfigProperties = Nothing, Optional trafficManagerHostNames As IEnumerable(Of String) = Nothing, Optional isScmSiteAlsoStopped As Nullable(Of Boolean) = Nothing, Optional targetSwapSlot As String = Nothing, Optional hostingEnvironmentProfile As HostingEnvironmentProfile = Nothing, Optional isClientAffinityEnabled As Nullable(Of Boolean) = Nothing, Optional isClientCertEnabled As Nullable(Of Boolean) = Nothing, Optional clientCertMode As Nullable(Of ClientCertMode) = Nothing, Optional clientCertExclusionPaths As String = Nothing, Optional isHostNameDisabled As Nullable(Of Boolean) = Nothing, Optional customDomainVerificationId As String = Nothing, Optional outboundIPAddresses As String = Nothing, Optional possibleOutboundIPAddresses As String = Nothing, Optional containerSize As Nullable(Of Integer) = Nothing, Optional dailyMemoryTimeQuota As Nullable(Of Integer) = Nothing, Optional suspendOn As Nullable(Of DateTimeOffset) = Nothing, Optional maxNumberOfWorkers As Nullable(Of Integer) = Nothing, Optional cloningInfo As CloningInfo = Nothing, Optional resourceGroup As String = Nothing, Optional isDefaultContainer As Nullable(Of Boolean) = Nothing, Optional defaultHostName As String = Nothing, Optional slotSwapStatus As SlotSwapStatus = Nothing, Optional isHttpsOnly As Nullable(Of Boolean) = Nothing, Optional redundancyMode As Nullable(Of RedundancyMode) = Nothing, Optional inProgressOperationId As Nullable(Of Guid) = Nothing, Optional isStorageAccountRequired As Nullable(Of Boolean) = Nothing, Optional keyVaultReferenceIdentity As String = Nothing, Optional virtualNetworkSubnetId As ResourceIdentifier = Nothing, Optional kind As String = Nothing) As SitePatchInfo

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

identity
ManagedServiceIdentity

Managed service identity.

state
String

Current state of the app.

hostNames
IEnumerable<String>

Hostnames associated with the app.

repositorySiteName
String

Name of the repository site.

usageState
Nullable<AppServiceUsageState>

State indicating whether the app has exceeded its quota usage. Read-only.

isEnabled
Nullable<Boolean>

<code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline).

enabledHostNames
IEnumerable<String>

Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.

availabilityState
Nullable<WebSiteAvailabilityState>

Management information availability state for the app.

hostNameSslStates
IEnumerable<HostNameSslState>

Hostname SSL states are used to manage the SSL bindings for app's hostnames.

serverFarmId
ResourceIdentifier

Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

isReserved
Nullable<Boolean>

<code>true</code> if reserved; otherwise, <code>false</code>.

isXenon
Nullable<Boolean>

Obsolete: Hyper-V sandbox.

isHyperV
Nullable<Boolean>

Hyper-V sandbox.

lastModifiedOn
Nullable<DateTimeOffset>

Last time the app was modified, in UTC. Read-only.

dnsConfiguration
SiteDnsConfig

Property to configure various DNS related settings for a site.

siteConfig
SiteConfigProperties

Configuration of the app.

trafficManagerHostNames
IEnumerable<String>

Azure Traffic Manager hostnames associated with the app. Read-only.

isScmSiteAlsoStopped
Nullable<Boolean>

<code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>.

targetSwapSlot
String

Specifies which deployment slot this app will swap into. Read-only.

hostingEnvironmentProfile
HostingEnvironmentProfile

App Service Environment to use for the app.

isClientAffinityEnabled
Nullable<Boolean>

<code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>.

isClientCertEnabled
Nullable<Boolean>

<code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.

clientCertMode
Nullable<ClientCertMode>

This composes with ClientCertEnabled setting.

  • ClientCertEnabled: false means ClientCert is ignored.
  • ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.
  • ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.
clientCertExclusionPaths
String

client certificate authentication comma-separated exclusion paths.

isHostNameDisabled
Nullable<Boolean>

<code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process.

customDomainVerificationId
String

Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.

outboundIPAddresses
String

List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.

possibleOutboundIPAddresses
String

List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.

containerSize
Nullable<Int32>

Size of the function container.

dailyMemoryTimeQuota
Nullable<Int32>

Maximum allowed daily memory-time quota (applicable on dynamic apps only).

suspendOn
Nullable<DateTimeOffset>

App suspended till in case memory-time quota is exceeded.

maxNumberOfWorkers
Nullable<Int32>

Maximum number of workers. This only applies to Functions container.

cloningInfo
CloningInfo

If specified during app creation, the app is cloned from a source app.

resourceGroup
String

Name of the resource group the app belongs to. Read-only.

isDefaultContainer
Nullable<Boolean>

<code>true</code> if the app is a default container; otherwise, <code>false</code>.

defaultHostName
String

Default hostname of the app. Read-only.

slotSwapStatus
SlotSwapStatus

Status of the last deployment slot swap operation.

isHttpsOnly
Nullable<Boolean>

HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests

redundancyMode
Nullable<RedundancyMode>

Site redundancy mode.

inProgressOperationId
Nullable<Guid>

Specifies an operation id if this site has a pending operation.

isStorageAccountRequired
Nullable<Boolean>

Checks if Customer provided storage account is required.

keyVaultReferenceIdentity
String

Identity to use for Key Vault Reference authentication.

virtualNetworkSubnetId
ResourceIdentifier

Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}

kind
String

Kind of resource.

Returns

A new SitePatchInfo instance for mocking.

Applies to