AppPlatformDeploymentSettings Class
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.
Deployment settings payload.
public class AppPlatformDeploymentSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentSettings>
public class AppPlatformDeploymentSettings
type AppPlatformDeploymentSettings = class
interface IJsonModel<AppPlatformDeploymentSettings>
interface IPersistableModel<AppPlatformDeploymentSettings>
type AppPlatformDeploymentSettings = class
Public Class AppPlatformDeploymentSettings
Implements IJsonModel(Of AppPlatformDeploymentSettings), IPersistableModel(Of AppPlatformDeploymentSettings)
Public Class AppPlatformDeploymentSettings
- Inheritance
-
AppPlatformDeploymentSettings
- Implements
Constructors
AppPlatformDeploymentSettings() |
Initializes a new instance of AppPlatformDeploymentSettings. |
Properties
AddonConfigs |
Collection of addons To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
EnvironmentVariables |
Collection of environment variables. |
IsProbeDisabled |
Indicates whether disable the liveness and readiness probe. |
LivenessProbe |
Periodic probe of App Instance liveness. App Instance will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. |
ReadinessProbe |
Periodic probe of App Instance service readiness. App Instance will be removed from service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. |
ResourceRequests |
The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later. |
StartupProbe |
StartupProbe indicates that the App Instance has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a App Instance's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes. |
TerminationGracePeriodInSeconds |
Optional duration in seconds the App Instance needs to terminate gracefully. May be decreased in delete request. 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. The grace period is the duration in seconds after the processes running in the App Instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 90 seconds. |
Explicit Interface Implementations
IJsonModel<AppPlatformDeploymentSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<AppPlatformDeploymentSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<AppPlatformDeploymentSettings>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<AppPlatformDeploymentSettings>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<AppPlatformDeploymentSettings>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET