ArmAppServiceModelFactory.SitePatchInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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? isClientAffinityProxyEnabled = 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, string publicNetworkAccess = 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<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> * string * 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 isClientAffinityProxyEnabled 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 publicNetworkAccess As String = 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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- identity
- ManagedServiceIdentity
Managed service identity. Serialized Name: SitePatchResource.identity
- state
- String
Current state of the app. Serialized Name: SitePatchResource.properties.state
- hostNames
- IEnumerable<String>
Hostnames associated with the app. Serialized Name: SitePatchResource.properties.hostNames
- repositorySiteName
- String
Name of the repository site. Serialized Name: SitePatchResource.properties.repositorySiteName
- usageState
- Nullable<AppServiceUsageState>
State indicating whether the app has exceeded its quota usage. Read-only. Serialized Name: SitePatchResource.properties.usageState
<code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). Serialized Name: SitePatchResource.properties.enabled
- 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. Serialized Name: SitePatchResource.properties.enabledHostNames
- availabilityState
- Nullable<WebSiteAvailabilityState>
Management information availability state for the app. Serialized Name: SitePatchResource.properties.availabilityState
- hostNameSslStates
- IEnumerable<HostNameSslState>
Hostname SSL states are used to manage the SSL bindings for app's hostnames. Serialized Name: SitePatchResource.properties.hostNameSslStates
- serverFarmId
- ResourceIdentifier
Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". Serialized Name: SitePatchResource.properties.serverFarmId
<code>true</code> if reserved; otherwise, <code>false</code>. Serialized Name: SitePatchResource.properties.reserved
Obsolete: Hyper-V sandbox. Serialized Name: SitePatchResource.properties.isXenon
- lastModifiedOn
- Nullable<DateTimeOffset>
Last time the app was modified, in UTC. Read-only. Serialized Name: SitePatchResource.properties.lastModifiedTimeUtc
- dnsConfiguration
- SiteDnsConfig
Property to configure various DNS related settings for a site. Serialized Name: SitePatchResource.properties.dnsConfiguration
- siteConfig
- SiteConfigProperties
Configuration of the app. Serialized Name: SitePatchResource.properties.siteConfig
- trafficManagerHostNames
- IEnumerable<String>
Azure Traffic Manager hostnames associated with the app. Read-only. Serialized Name: SitePatchResource.properties.trafficManagerHostNames
<code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. Serialized Name: SitePatchResource.properties.scmSiteAlsoStopped
- targetSwapSlot
- String
Specifies which deployment slot this app will swap into. Read-only. Serialized Name: SitePatchResource.properties.targetSwapSlot
- hostingEnvironmentProfile
- HostingEnvironmentProfile
App Service Environment to use for the app. Serialized Name: SitePatchResource.properties.hostingEnvironmentProfile
<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>. Serialized Name: SitePatchResource.properties.clientAffinityEnabled
<code>true</code> to override client affinity cookie domain with X-Forwarded-Host request header. <code>false</code> to use default domain. Default is <code>false</code>. Serialized Name: SitePatchResource.properties.clientAffinityProxyEnabled
<code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. Serialized Name: SitePatchResource.properties.clientCertEnabled
- 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. Serialized Name: SitePatchResource.properties.clientCertMode
- clientCertExclusionPaths
- String
client certificate authentication comma-separated exclusion paths Serialized Name: SitePatchResource.properties.clientCertExclusionPaths
<code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>.\n If <code>true</code>, the app is only accessible via API management process. Serialized Name: SitePatchResource.properties.hostNamesDisabled
- customDomainVerificationId
- String
Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification. Serialized Name: SitePatchResource.properties.customDomainVerificationId
- 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. Serialized Name: SitePatchResource.properties.outboundIpAddresses
- 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. Serialized Name: SitePatchResource.properties.possibleOutboundIpAddresses
Size of the function container. Serialized Name: SitePatchResource.properties.containerSize
Maximum allowed daily memory-time quota (applicable on dynamic apps only). Serialized Name: SitePatchResource.properties.dailyMemoryTimeQuota
- suspendOn
- Nullable<DateTimeOffset>
App suspended till in case memory-time quota is exceeded. Serialized Name: SitePatchResource.properties.suspendedTill
Maximum number of workers. This only applies to Functions container. Serialized Name: SitePatchResource.properties.maxNumberOfWorkers
- cloningInfo
- CloningInfo
If specified during app creation, the app is cloned from a source app. Serialized Name: SitePatchResource.properties.cloningInfo
- resourceGroup
- String
Name of the resource group the app belongs to. Read-only. Serialized Name: SitePatchResource.properties.resourceGroup
<code>true</code> if the app is a default container; otherwise, <code>false</code>. Serialized Name: SitePatchResource.properties.isDefaultContainer
- defaultHostName
- String
Default hostname of the app. Read-only. Serialized Name: SitePatchResource.properties.defaultHostName
- slotSwapStatus
- SlotSwapStatus
Status of the last deployment slot swap operation. Serialized Name: SitePatchResource.properties.slotSwapStatus
HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests Serialized Name: SitePatchResource.properties.httpsOnly
- redundancyMode
- Nullable<RedundancyMode>
Site redundancy mode Serialized Name: SitePatchResource.properties.redundancyMode
Specifies an operation id if this site has a pending operation. Serialized Name: SitePatchResource.properties.inProgressOperationId
- publicNetworkAccess
- String
Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string. Serialized Name: SitePatchResource.properties.publicNetworkAccess
Checks if Customer provided storage account is required Serialized Name: SitePatchResource.properties.storageAccountRequired
- keyVaultReferenceIdentity
- String
Identity to use for Key Vault Reference authentication. Serialized Name: SitePatchResource.properties.keyVaultReferenceIdentity
- 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} Serialized Name: SitePatchResource.properties.virtualNetworkSubnetId
- kind
- String
Kind of resource. Serialized Name: ProxyOnlyResource.kind
Returns
A new SitePatchInfo instance for mocking.