Partager via


ContainerApp Class

Definition

Container App.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppTypeConverter))]
public class ContainerApp : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerApp, Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerAppTypeConverter))>]
type ContainerApp = class
    interface IContainerApp
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class ContainerApp
Implements IContainerApp, IValidates
Inheritance
ContainerApp
Attributes
Implements

Constructors

ContainerApp()

Creates an new ContainerApp instance.

Properties

Configuration

Non versioned Container App configuration properties.

CustomDomainVerificationId

Id used to verify domain name ownership

EnvironmentId

Resource ID of environment.

EventStreamEndpoint

The endpoint of the eventstream of the container app.

ExtendedLocationName

The name of the extended location.

ExtendedLocationType

The type of the extended location.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

LatestReadyRevisionName

Name of the latest ready revision of the Container App.

LatestRevisionFqdn

Fully Qualified Domain Name of the latest revision of the Container App.

LatestRevisionName

Name of the latest revision of the Container App.

Location

The geo-location where the resource lives

ManagedBy

The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.

ManagedEnvironmentId

Deprecated. Resource ID of the Container App's environment.

Name

The name of the resource

OutboundIPAddress

Outbound IP Addresses for container app.

ProvisioningState

Provisioning state of the Container App.

ResourceGroupName

Gets the resource group name

ScaleMaxReplica

Optional. Maximum number of container replicas. Defaults to 10 if not set.

ScaleMinReplica

Optional. Minimum number of container replicas.

ScaleRule

Scaling rules.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

TemplateContainer

List of container definitions for the Container App.

TemplateInitContainer

List of specialized containers that run before app containers.

TemplateRevisionSuffix

User friendly suffix that is appended to the revision name

TemplateServiceBind

List of container app services bound to the app

TemplateTerminationGracePeriodSecond

Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

TemplateVolume

List of volume definitions for the Container App.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

WorkloadProfileName

Workload profile name to pin for container app execution.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerApp.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerApp.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerApp.

FromJsonString(String)

Creates a new instance of ContainerApp, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerApp into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to