294 строки
28 KiB
YAML
294 строки
28 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings"
|
|
name: "DeploymentSettings"
|
|
nameWithType: "DeploymentSettings"
|
|
summary: "Deployment settings payload."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **DeploymentSettings**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.DeploymentSettings()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.DeploymentSettings()"
|
|
name: "DeploymentSettings()"
|
|
nameWithType: "DeploymentSettings.DeploymentSettings()"
|
|
summary: "Creates an instance of Deployment<wbr>Settings class."
|
|
syntax: "public DeploymentSettings()"
|
|
desc: "Creates an instance of DeploymentSettings class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.addonConfigs()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.addonConfigs()"
|
|
name: "addonConfigs()"
|
|
nameWithType: "DeploymentSettings.addonConfigs()"
|
|
summary: "Get the addon<wbr>Configs property: Collection of addons."
|
|
syntax: "public Map<String,Map<String,Object>> addonConfigs()"
|
|
desc: "Get the addonConfigs property: Collection of addons."
|
|
returns:
|
|
description: "the addonConfigs value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>>>"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.apms()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.apms()"
|
|
name: "apms()"
|
|
nameWithType: "DeploymentSettings.apms()"
|
|
summary: "Get the apms property: Collection of Apm<wbr>References."
|
|
syntax: "public List<ApmReference> apms()"
|
|
desc: "Get the apms property: Collection of ApmReferences."
|
|
returns:
|
|
description: "the apms value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.appplatform.models.ApmReference?alt=com.azure.resourcemanager.appplatform.models.ApmReference&text=ApmReference\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.containerProbeSettings()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.containerProbeSettings()"
|
|
name: "containerProbeSettings()"
|
|
nameWithType: "DeploymentSettings.containerProbeSettings()"
|
|
summary: "Get the container<wbr>Probe<wbr>Settings property: Container liveness and readiness probe settings."
|
|
syntax: "public ContainerProbeSettings containerProbeSettings()"
|
|
desc: "Get the containerProbeSettings property: Container liveness and readiness probe settings."
|
|
returns:
|
|
description: "the containerProbeSettings value."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.ContainerProbeSettings?alt=com.azure.resourcemanager.appplatform.models.ContainerProbeSettings&text=ContainerProbeSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.environmentVariables()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.environmentVariables()"
|
|
name: "environmentVariables()"
|
|
nameWithType: "DeploymentSettings.environmentVariables()"
|
|
summary: "Get the environment<wbr>Variables property: Collection of environment variables."
|
|
syntax: "public Map<String,String> environmentVariables()"
|
|
desc: "Get the environmentVariables property: Collection of environment variables."
|
|
returns:
|
|
description: "the environmentVariables value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "DeploymentSettings.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Deployment<wbr>Settings from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static DeploymentSettings fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the DeploymentSettings."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of DeploymentSettings from the JsonReader."
|
|
returns:
|
|
description: "An instance of DeploymentSettings if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.livenessProbe()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.livenessProbe()"
|
|
name: "livenessProbe()"
|
|
nameWithType: "DeploymentSettings.livenessProbe()"
|
|
summary: "Get the liveness<wbr>Probe property: Periodic probe of App Instance liveness."
|
|
syntax: "public Probe livenessProbe()"
|
|
desc: "Get the livenessProbe property: 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."
|
|
returns:
|
|
description: "the livenessProbe value."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.Probe?alt=com.azure.resourcemanager.appplatform.models.Probe&text=Probe\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.readinessProbe()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.readinessProbe()"
|
|
name: "readinessProbe()"
|
|
nameWithType: "DeploymentSettings.readinessProbe()"
|
|
summary: "Get the readiness<wbr>Probe property: Periodic probe of App Instance service readiness."
|
|
syntax: "public Probe readinessProbe()"
|
|
desc: "Get the readinessProbe property: 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."
|
|
returns:
|
|
description: "the readinessProbe value."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.Probe?alt=com.azure.resourcemanager.appplatform.models.Probe&text=Probe\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.resourceRequests()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.resourceRequests()"
|
|
name: "resourceRequests()"
|
|
nameWithType: "DeploymentSettings.resourceRequests()"
|
|
summary: "Get the resource<wbr>Requests property: The requested resource quantity for required CPU and Memory."
|
|
syntax: "public ResourceRequests resourceRequests()"
|
|
desc: "Get the resourceRequests property: 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."
|
|
returns:
|
|
description: "the resourceRequests value."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.ResourceRequests?alt=com.azure.resourcemanager.appplatform.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.startupProbe()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.startupProbe()"
|
|
name: "startupProbe()"
|
|
nameWithType: "DeploymentSettings.startupProbe()"
|
|
summary: "Get the startup<wbr>Probe property: Startup<wbr>Probe indicates that the App Instance has successfully initialized."
|
|
syntax: "public Probe startupProbe()"
|
|
desc: "Get the startupProbe property: 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."
|
|
returns:
|
|
description: "the startupProbe value."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.Probe?alt=com.azure.resourcemanager.appplatform.models.Probe&text=Probe\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.terminationGracePeriodSeconds()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.terminationGracePeriodSeconds()"
|
|
name: "terminationGracePeriodSeconds()"
|
|
nameWithType: "DeploymentSettings.terminationGracePeriodSeconds()"
|
|
summary: "Get the termination<wbr>Grace<wbr>Period<wbr>Seconds property: Optional duration in seconds the App Instance needs to terminate gracefully."
|
|
syntax: "public Integer terminationGracePeriodSeconds()"
|
|
desc: "Get the terminationGracePeriodSeconds property: 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."
|
|
returns:
|
|
description: "the terminationGracePeriodSeconds value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "DeploymentSettings.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.validate()"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.validate()"
|
|
name: "validate()"
|
|
nameWithType: "DeploymentSettings.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withAddonConfigs(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withAddonConfigs(Map<String,Map<String,Object>> addonConfigs)"
|
|
name: "withAddonConfigs(Map<String,Map<String,Object>> addonConfigs)"
|
|
nameWithType: "DeploymentSettings.withAddonConfigs(Map<String,Map<String,Object>> addonConfigs)"
|
|
summary: "Set the addon<wbr>Configs property: Collection of addons."
|
|
parameters:
|
|
- description: "the addonConfigs value to set."
|
|
name: "addonConfigs"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>>>"
|
|
syntax: "public DeploymentSettings withAddonConfigs(Map<String,Map<String,Object>> addonConfigs)"
|
|
desc: "Set the addonConfigs property: Collection of addons."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withApms(java.util.List<com.azure.resourcemanager.appplatform.models.ApmReference>)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withApms(List<ApmReference> apms)"
|
|
name: "withApms(List<ApmReference> apms)"
|
|
nameWithType: "DeploymentSettings.withApms(List<ApmReference> apms)"
|
|
summary: "Set the apms property: Collection of Apm<wbr>References."
|
|
parameters:
|
|
- description: "the apms value to set."
|
|
name: "apms"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.appplatform.models.ApmReference?alt=com.azure.resourcemanager.appplatform.models.ApmReference&text=ApmReference\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public DeploymentSettings withApms(List<ApmReference> apms)"
|
|
desc: "Set the apms property: Collection of ApmReferences."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withContainerProbeSettings(com.azure.resourcemanager.appplatform.models.ContainerProbeSettings)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withContainerProbeSettings(ContainerProbeSettings containerProbeSettings)"
|
|
name: "withContainerProbeSettings(ContainerProbeSettings containerProbeSettings)"
|
|
nameWithType: "DeploymentSettings.withContainerProbeSettings(ContainerProbeSettings containerProbeSettings)"
|
|
summary: "Set the container<wbr>Probe<wbr>Settings property: Container liveness and readiness probe settings."
|
|
parameters:
|
|
- description: "the containerProbeSettings value to set."
|
|
name: "containerProbeSettings"
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.ContainerProbeSettings?alt=com.azure.resourcemanager.appplatform.models.ContainerProbeSettings&text=ContainerProbeSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DeploymentSettings withContainerProbeSettings(ContainerProbeSettings containerProbeSettings)"
|
|
desc: "Set the containerProbeSettings property: Container liveness and readiness probe settings."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withEnvironmentVariables(java.util.Map<java.lang.String,java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withEnvironmentVariables(Map<String,String> environmentVariables)"
|
|
name: "withEnvironmentVariables(Map<String,String> environmentVariables)"
|
|
nameWithType: "DeploymentSettings.withEnvironmentVariables(Map<String,String> environmentVariables)"
|
|
summary: "Set the environment<wbr>Variables property: Collection of environment variables."
|
|
parameters:
|
|
- description: "the environmentVariables value to set."
|
|
name: "environmentVariables"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public DeploymentSettings withEnvironmentVariables(Map<String,String> environmentVariables)"
|
|
desc: "Set the environmentVariables property: Collection of environment variables."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withLivenessProbe(com.azure.resourcemanager.appplatform.models.Probe)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withLivenessProbe(Probe livenessProbe)"
|
|
name: "withLivenessProbe(Probe livenessProbe)"
|
|
nameWithType: "DeploymentSettings.withLivenessProbe(Probe livenessProbe)"
|
|
summary: "Set the liveness<wbr>Probe property: Periodic probe of App Instance liveness."
|
|
parameters:
|
|
- description: "the livenessProbe value to set."
|
|
name: "livenessProbe"
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.Probe?alt=com.azure.resourcemanager.appplatform.models.Probe&text=Probe\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DeploymentSettings withLivenessProbe(Probe livenessProbe)"
|
|
desc: "Set the livenessProbe property: 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."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withReadinessProbe(com.azure.resourcemanager.appplatform.models.Probe)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withReadinessProbe(Probe readinessProbe)"
|
|
name: "withReadinessProbe(Probe readinessProbe)"
|
|
nameWithType: "DeploymentSettings.withReadinessProbe(Probe readinessProbe)"
|
|
summary: "Set the readiness<wbr>Probe property: Periodic probe of App Instance service readiness."
|
|
parameters:
|
|
- description: "the readinessProbe value to set."
|
|
name: "readinessProbe"
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.Probe?alt=com.azure.resourcemanager.appplatform.models.Probe&text=Probe\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DeploymentSettings withReadinessProbe(Probe readinessProbe)"
|
|
desc: "Set the readinessProbe property: 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."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withResourceRequests(com.azure.resourcemanager.appplatform.models.ResourceRequests)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withResourceRequests(ResourceRequests resourceRequests)"
|
|
name: "withResourceRequests(ResourceRequests resourceRequests)"
|
|
nameWithType: "DeploymentSettings.withResourceRequests(ResourceRequests resourceRequests)"
|
|
summary: "Set the resource<wbr>Requests property: The requested resource quantity for required CPU and Memory."
|
|
parameters:
|
|
- description: "the resourceRequests value to set."
|
|
name: "resourceRequests"
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.ResourceRequests?alt=com.azure.resourcemanager.appplatform.models.ResourceRequests&text=ResourceRequests\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DeploymentSettings withResourceRequests(ResourceRequests resourceRequests)"
|
|
desc: "Set the resourceRequests property: 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."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withStartupProbe(com.azure.resourcemanager.appplatform.models.Probe)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withStartupProbe(Probe startupProbe)"
|
|
name: "withStartupProbe(Probe startupProbe)"
|
|
nameWithType: "DeploymentSettings.withStartupProbe(Probe startupProbe)"
|
|
summary: "Set the startup<wbr>Probe property: Startup<wbr>Probe indicates that the App Instance has successfully initialized."
|
|
parameters:
|
|
- description: "the startupProbe value to set."
|
|
name: "startupProbe"
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.Probe?alt=com.azure.resourcemanager.appplatform.models.Probe&text=Probe\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DeploymentSettings withStartupProbe(Probe startupProbe)"
|
|
desc: "Set the startupProbe property: 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."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withTerminationGracePeriodSeconds(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.appplatform.models.DeploymentSettings.withTerminationGracePeriodSeconds(Integer terminationGracePeriodSeconds)"
|
|
name: "withTerminationGracePeriodSeconds(Integer terminationGracePeriodSeconds)"
|
|
nameWithType: "DeploymentSettings.withTerminationGracePeriodSeconds(Integer terminationGracePeriodSeconds)"
|
|
summary: "Set the termination<wbr>Grace<wbr>Period<wbr>Seconds property: Optional duration in seconds the App Instance needs to terminate gracefully."
|
|
parameters:
|
|
- description: "the terminationGracePeriodSeconds value to set."
|
|
name: "terminationGracePeriodSeconds"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public DeploymentSettings withTerminationGracePeriodSeconds(Integer terminationGracePeriodSeconds)"
|
|
desc: "Set the terminationGracePeriodSeconds property: 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."
|
|
returns:
|
|
description: "the DeploymentSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Deployment settings payload."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.appplatform.models.DeploymentSettings?alt=com.azure.resourcemanager.appplatform.models.DeploymentSettings&text=DeploymentSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.appplatform.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-appplatform:2.44.0
|