Compartilhar via


ArmAppContainersModelFactory.ContainerAppIngressConfiguration Método

Definição

Inicializa uma nova instância de ContainerAppIngressConfiguration.

public static Azure.ResourceManager.AppContainers.Models.ContainerAppIngressConfiguration ContainerAppIngressConfiguration (string fqdn = default, bool? external = default, int? targetPort = default, int? exposedPort = default, Azure.ResourceManager.AppContainers.Models.ContainerAppIngressTransportMethod? transport = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppRevisionTrafficWeight> traffic = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppCustomDomain> customDomains = default, bool? allowInsecure = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppIPSecurityRestrictionRule> ipSecurityRestrictions = default, Azure.ResourceManager.AppContainers.Models.Affinity? stickySessionsAffinity = default, Azure.ResourceManager.AppContainers.Models.ContainerAppIngressClientCertificateMode? clientCertificateMode = default, Azure.ResourceManager.AppContainers.Models.ContainerAppCorsPolicy corsPolicy = default);
static member ContainerAppIngressConfiguration : string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppIngressTransportMethod> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppRevisionTrafficWeight> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppCustomDomain> * Nullable<bool> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppIPSecurityRestrictionRule> * Nullable<Azure.ResourceManager.AppContainers.Models.Affinity> * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppIngressClientCertificateMode> * Azure.ResourceManager.AppContainers.Models.ContainerAppCorsPolicy -> Azure.ResourceManager.AppContainers.Models.ContainerAppIngressConfiguration
Public Shared Function ContainerAppIngressConfiguration (Optional fqdn As String = Nothing, Optional external As Nullable(Of Boolean) = Nothing, Optional targetPort As Nullable(Of Integer) = Nothing, Optional exposedPort As Nullable(Of Integer) = Nothing, Optional transport As Nullable(Of ContainerAppIngressTransportMethod) = Nothing, Optional traffic As IEnumerable(Of ContainerAppRevisionTrafficWeight) = Nothing, Optional customDomains As IEnumerable(Of ContainerAppCustomDomain) = Nothing, Optional allowInsecure As Nullable(Of Boolean) = Nothing, Optional ipSecurityRestrictions As IEnumerable(Of ContainerAppIPSecurityRestrictionRule) = Nothing, Optional stickySessionsAffinity As Nullable(Of Affinity) = Nothing, Optional clientCertificateMode As Nullable(Of ContainerAppIngressClientCertificateMode) = Nothing, Optional corsPolicy As ContainerAppCorsPolicy = Nothing) As ContainerAppIngressConfiguration

Parâmetros

fqdn
String

Hostname.

external
Nullable<Boolean>

Bool indicando se o aplicativo expõe um ponto de extremidade http externo.

targetPort
Nullable<Int32>

Porta de destino em contêineres para tráfego de entrada.

exposedPort
Nullable<Int32>

Porta exposta em contêineres para tráfego TCP de entrada.

transport
Nullable<ContainerAppIngressTransportMethod>

Protocolo de transporte de entrada.

traffic
IEnumerable<ContainerAppRevisionTrafficWeight>

Pesos de tráfego para revisões do aplicativo.

customDomains
IEnumerable<ContainerAppCustomDomain>

associações de domínio personalizadas para nomes de host dos Aplicativos de Contêiner.

allowInsecure
Nullable<Boolean>

Bool indicando se as conexões HTTP com são permitidas. Se definido como conexões HTTP falsas, serão redirecionados automaticamente para conexões HTTPS.

ipSecurityRestrictions
IEnumerable<ContainerAppIPSecurityRestrictionRule>

Regras para restringir o endereço IP de entrada.

stickySessionsAffinity
Nullable<Affinity>

Sessões autoadesivas para modo de revisão única.

clientCertificateMode
Nullable<ContainerAppIngressClientCertificateMode>

Modo de certificado do cliente para autenticação mTLS. Ignorar indica que o servidor descarta o certificado do cliente no encaminhamento. Accept indica que o servidor encaminha o certificado do cliente, mas não requer um certificado do cliente. Exigir indica que o servidor requer um certificado do cliente.

corsPolicy
ContainerAppCorsPolicy

Política cors para aplicativo de contêiner.

Retornos

Uma nova ContainerAppIngressConfiguration instância para zombar.

Aplica-se a