ArmAppContainersModelFactory.ContainerAppConfiguration 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.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppConfiguration ContainerAppConfiguration(System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppWritableSecret> secrets = default, Azure.ResourceManager.AppContainers.Models.ContainerAppActiveRevisionsMode? activeRevisionsMode = default, string targetLabel = default, Azure.ResourceManager.AppContainers.Models.ContainerAppIngressConfiguration ingress = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppRegistryCredentials> registries = default, Azure.ResourceManager.AppContainers.Models.ContainerAppDaprConfiguration dapr = default, bool? enableMetrics = default, int? maxInactiveRevisions = default, int? revisionTransitionThreshold = default, string serviceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppIdentitySettings> identitySettings = default);
static member ContainerAppConfiguration : seq<Azure.ResourceManager.AppContainers.Models.ContainerAppWritableSecret> * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppActiveRevisionsMode> * string * Azure.ResourceManager.AppContainers.Models.ContainerAppIngressConfiguration * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppRegistryCredentials> * Azure.ResourceManager.AppContainers.Models.ContainerAppDaprConfiguration * Nullable<bool> * Nullable<int> * Nullable<int> * string * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppIdentitySettings> -> Azure.ResourceManager.AppContainers.Models.ContainerAppConfiguration
Public Shared Function ContainerAppConfiguration (Optional secrets As IEnumerable(Of ContainerAppWritableSecret) = Nothing, Optional activeRevisionsMode As Nullable(Of ContainerAppActiveRevisionsMode) = Nothing, Optional targetLabel As String = Nothing, Optional ingress As ContainerAppIngressConfiguration = Nothing, Optional registries As IEnumerable(Of ContainerAppRegistryCredentials) = Nothing, Optional dapr As ContainerAppDaprConfiguration = Nothing, Optional enableMetrics As Nullable(Of Boolean) = Nothing, Optional maxInactiveRevisions As Nullable(Of Integer) = Nothing, Optional revisionTransitionThreshold As Nullable(Of Integer) = Nothing, Optional serviceType As String = Nothing, Optional identitySettings As IEnumerable(Of ContainerAppIdentitySettings) = Nothing) As ContainerAppConfiguration
Parameters
- secrets
- IEnumerable<ContainerAppWritableSecret>
Collection of secrets used by a Container app.
- activeRevisionsMode
- Nullable<ContainerAppActiveRevisionsMode>
Controls how active revisions are handled for the Container app.
- targetLabel
- String
Required in labels revisions mode. Label to apply to newly created revision.
- ingress
- ContainerAppIngressConfiguration
Ingress configurations.
- registries
- IEnumerable<ContainerAppRegistryCredentials>
Collection of private container registry credentials for containers used by the Container app.
Dapr configuration for the Container App.
Optional. The percent of the total number of replicas that must be brought up before revision transition occurs. Defaults to 100 when none is given. Value must be greater than 0 and less than or equal to 100.
- serviceType
- String
Dev ContainerApp service type.
- identitySettings
- IEnumerable<ContainerAppIdentitySettings>
Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
Returns
A new ContainerAppConfiguration instance for mocking.