Compartir a través de


IConfiguration Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ConfigurationTypeConverter))]
public interface IConfiguration : Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ConfigurationTypeConverter))>]
type IConfiguration = interface
    interface IJsonSerializable
Public Interface IConfiguration
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

ActiveRevisionsMode

ActiveRevisionsMode controls how active revisions are handled for the Container app:

CorPolicyAllowCredentials

Specifies whether the resource allows credentials

CorPolicyAllowedHeader

Specifies the content for the access-control-allow-headers header

CorPolicyAllowedMethod

Specifies the content for the access-control-allow-methods header

CorPolicyAllowedOrigin

Specifies the content for the access-control-allow-origins header

CorPolicyExposeHeader

Specifies the content for the access-control-expose-headers header

CorPolicyMaxAge

Specifies the content for the access-control-max-age header

DaprAppId

Dapr application identifier

DaprAppPort

Tells Dapr which port your application is listening on

DaprAppProtocol

Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http

DaprEnableApiLogging

Enables API logging for the Dapr sidecar

DaprEnabled

Boolean indicating if the Dapr side car is enabled

DaprHttpMaxRequestSize

Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.

DaprHttpReadBufferSize

Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.

DaprLogLevel

Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.

IngressAllowInsecure

Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections

IngressClientCertificateMode

Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.

IngressCustomDomain

custom domain bindings for Container Apps' hostnames.

IngressExposedPort

Exposed Port in containers for TCP traffic from ingress

IngressExternal

Bool indicating if app exposes an external http endpoint

IngressFqdn

Hostname.

IngressIPSecurityRestriction

Rules to restrict incoming IP address.

IngressTargetPort

Target Port in containers for traffic from ingress

IngressTraffic

Traffic weights for app's revisions

IngressTransport

Ingress transport protocol

MaxInactiveRevision

Optional. Max inactive revisions a Container App can have.

Registry

Collection of private container registry credentials for containers used by the Container app

Secret

Collection of secrets used by a Container app

ServiceType

Dev ContainerApp service type

StickySessionAffinity

Sticky Session Affinity

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to