### YamlMime:JavaType
uid: "com.azure.resourcemanager.appplatform.models.Probe"
fullName: "com.azure.resourcemanager.appplatform.models.Probe"
name: "Probe"
nameWithType: "Probe"
summary: "Probe describes a health check to be performed against an App Instance to determine whether it is alive or ready to receive traffic."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **Probe** implements <>"
constructors:
- uid: "com.azure.resourcemanager.appplatform.models.Probe.Probe()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.Probe()"
name: "Probe()"
nameWithType: "Probe.Probe()"
summary: "Creates an instance of Probe class."
syntax: "public Probe()"
desc: "Creates an instance of Probe class."
methods:
- uid: "com.azure.resourcemanager.appplatform.models.Probe.disableProbe()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.disableProbe()"
name: "disableProbe()"
nameWithType: "Probe.disableProbe()"
summary: "Get the disableProbe property: Indicate whether the probe is disabled."
syntax: "public boolean disableProbe()"
desc: "Get the disableProbe property: Indicate whether the probe is disabled."
returns:
description: "the disableProbe value."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.failureThreshold()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.failureThreshold()"
name: "failureThreshold()"
nameWithType: "Probe.failureThreshold()"
summary: "Get the failureThreshold property: Minimum consecutive failures for the probe to be considered failed after having succeeded."
syntax: "public Integer failureThreshold()"
desc: "Get the failureThreshold property: Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1."
returns:
description: "the failureThreshold value."
type: "Integer"
- uid: "com.azure.resourcemanager.appplatform.models.Probe.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Probe.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Probe from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static Probe fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "IOException"
desc: "Reads an instance of Probe from the JsonReader."
returns:
description: "An instance of Probe if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.initialDelaySeconds()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.initialDelaySeconds()"
name: "initialDelaySeconds()"
nameWithType: "Probe.initialDelaySeconds()"
summary: "Get the initialDelaySeconds property: Number of seconds after the App Instance has started before probes are initiated."
syntax: "public Integer initialDelaySeconds()"
desc: "Get the initialDelaySeconds property: Number of seconds after the App Instance has started before probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle\\#container-probes."
returns:
description: "the initialDelaySeconds value."
type: "Integer"
- uid: "com.azure.resourcemanager.appplatform.models.Probe.periodSeconds()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.periodSeconds()"
name: "periodSeconds()"
nameWithType: "Probe.periodSeconds()"
summary: "Get the periodSeconds property: How often (in seconds) to perform the probe."
syntax: "public Integer periodSeconds()"
desc: "Get the periodSeconds property: How often (in seconds) to perform the probe. Minimum value is 1."
returns:
description: "the periodSeconds value."
type: "Integer"
- uid: "com.azure.resourcemanager.appplatform.models.Probe.probeAction()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.probeAction()"
name: "probeAction()"
nameWithType: "Probe.probeAction()"
summary: "Get the probeAction property: The action of the probe."
syntax: "public ProbeAction probeAction()"
desc: "Get the probeAction property: The action of the probe."
returns:
description: "the probeAction value."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.successThreshold()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.successThreshold()"
name: "successThreshold()"
nameWithType: "Probe.successThreshold()"
summary: "Get the successThreshold property: Minimum consecutive successes for the probe to be considered successful after having failed."
syntax: "public Integer successThreshold()"
desc: "Get the successThreshold property: Minimum consecutive successes for the probe to be considered successful after having failed. Must be 1 for liveness and startup. Minimum value is 1."
returns:
description: "the successThreshold value."
type: "Integer"
- uid: "com.azure.resourcemanager.appplatform.models.Probe.timeoutSeconds()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.timeoutSeconds()"
name: "timeoutSeconds()"
nameWithType: "Probe.timeoutSeconds()"
summary: "Get the timeoutSeconds property: Number of seconds after which the probe times out."
syntax: "public Integer timeoutSeconds()"
desc: "Get the timeoutSeconds property: Number of seconds after which the probe times out. Minimum value is 1."
returns:
description: "the timeoutSeconds value."
type: "Integer"
- uid: "com.azure.resourcemanager.appplatform.models.Probe.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Probe.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.validate()"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.validate()"
name: "validate()"
nameWithType: "Probe.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.appplatform.models.Probe.withDisableProbe(boolean)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.withDisableProbe(boolean disableProbe)"
name: "withDisableProbe(boolean disableProbe)"
nameWithType: "Probe.withDisableProbe(boolean disableProbe)"
summary: "Set the disableProbe property: Indicate whether the probe is disabled."
parameters:
- description: "the disableProbe value to set."
name: "disableProbe"
type: ""
syntax: "public Probe withDisableProbe(boolean disableProbe)"
desc: "Set the disableProbe property: Indicate whether the probe is disabled."
returns:
description: "the Probe object itself."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.withFailureThreshold(java.lang.Integer)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.withFailureThreshold(Integer failureThreshold)"
name: "withFailureThreshold(Integer failureThreshold)"
nameWithType: "Probe.withFailureThreshold(Integer failureThreshold)"
summary: "Set the failureThreshold property: Minimum consecutive failures for the probe to be considered failed after having succeeded."
parameters:
- description: "the failureThreshold value to set."
name: "failureThreshold"
type: "Integer"
syntax: "public Probe withFailureThreshold(Integer failureThreshold)"
desc: "Set the failureThreshold property: Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1."
returns:
description: "the Probe object itself."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.withInitialDelaySeconds(java.lang.Integer)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.withInitialDelaySeconds(Integer initialDelaySeconds)"
name: "withInitialDelaySeconds(Integer initialDelaySeconds)"
nameWithType: "Probe.withInitialDelaySeconds(Integer initialDelaySeconds)"
summary: "Set the initialDelaySeconds property: Number of seconds after the App Instance has started before probes are initiated."
parameters:
- description: "the initialDelaySeconds value to set."
name: "initialDelaySeconds"
type: "Integer"
syntax: "public Probe withInitialDelaySeconds(Integer initialDelaySeconds)"
desc: "Set the initialDelaySeconds property: Number of seconds after the App Instance has started before probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle\\#container-probes."
returns:
description: "the Probe object itself."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.withPeriodSeconds(java.lang.Integer)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.withPeriodSeconds(Integer periodSeconds)"
name: "withPeriodSeconds(Integer periodSeconds)"
nameWithType: "Probe.withPeriodSeconds(Integer periodSeconds)"
summary: "Set the periodSeconds property: How often (in seconds) to perform the probe."
parameters:
- description: "the periodSeconds value to set."
name: "periodSeconds"
type: "Integer"
syntax: "public Probe withPeriodSeconds(Integer periodSeconds)"
desc: "Set the periodSeconds property: How often (in seconds) to perform the probe. Minimum value is 1."
returns:
description: "the Probe object itself."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.withProbeAction(com.azure.resourcemanager.appplatform.models.ProbeAction)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.withProbeAction(ProbeAction probeAction)"
name: "withProbeAction(ProbeAction probeAction)"
nameWithType: "Probe.withProbeAction(ProbeAction probeAction)"
summary: "Set the probeAction property: The action of the probe."
parameters:
- description: "the probeAction value to set."
name: "probeAction"
type: ""
syntax: "public Probe withProbeAction(ProbeAction probeAction)"
desc: "Set the probeAction property: The action of the probe."
returns:
description: "the Probe object itself."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.withSuccessThreshold(java.lang.Integer)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.withSuccessThreshold(Integer successThreshold)"
name: "withSuccessThreshold(Integer successThreshold)"
nameWithType: "Probe.withSuccessThreshold(Integer successThreshold)"
summary: "Set the successThreshold property: Minimum consecutive successes for the probe to be considered successful after having failed."
parameters:
- description: "the successThreshold value to set."
name: "successThreshold"
type: "Integer"
syntax: "public Probe withSuccessThreshold(Integer successThreshold)"
desc: "Set the successThreshold property: Minimum consecutive successes for the probe to be considered successful after having failed. Must be 1 for liveness and startup. Minimum value is 1."
returns:
description: "the Probe object itself."
type: ""
- uid: "com.azure.resourcemanager.appplatform.models.Probe.withTimeoutSeconds(java.lang.Integer)"
fullName: "com.azure.resourcemanager.appplatform.models.Probe.withTimeoutSeconds(Integer timeoutSeconds)"
name: "withTimeoutSeconds(Integer timeoutSeconds)"
nameWithType: "Probe.withTimeoutSeconds(Integer timeoutSeconds)"
summary: "Set the timeoutSeconds property: Number of seconds after which the probe times out."
parameters:
- description: "the timeoutSeconds value to set."
name: "timeoutSeconds"
type: "Integer"
syntax: "public Probe withTimeoutSeconds(Integer timeoutSeconds)"
desc: "Set the timeoutSeconds property: Number of seconds after which the probe times out. Minimum value is 1."
returns:
description: "the Probe object itself."
type: ""
type: "class"
desc: "Probe describes a health check to be performed against an App Instance to determine whether it is alive or ready to receive traffic."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.appplatform.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-appplatform:2.44.0