### YamlMime:JavaType uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe" name: "ContainerProbe" nameWithType: "ContainerProbe" summary: "The container probe, for liveness or readiness." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **ContainerProbe**
implements <>" constructors: - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.ContainerProbe()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.ContainerProbe()" name: "ContainerProbe()" nameWithType: "ContainerProbe.ContainerProbe()" summary: "Creates an instance of ContainerProbe class." syntax: "public ContainerProbe()" desc: "Creates an instance of ContainerProbe class." methods: - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.exec()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.exec()" name: "exec()" nameWithType: "ContainerProbe.exec()" summary: "Get the exec property: The execution command to probe." syntax: "public ContainerExec exec()" desc: "Get the exec property: The execution command to probe." returns: description: "the exec value." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.failureThreshold()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.failureThreshold()" name: "failureThreshold()" nameWithType: "ContainerProbe.failureThreshold()" summary: "Get the failureThreshold property: The failure threshold." syntax: "public Integer failureThreshold()" desc: "Get the failureThreshold property: The failure threshold." returns: description: "the failureThreshold value." type: "Integer" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "ContainerProbe.fromJson(JsonReader jsonReader)" summary: "Reads an instance of ContainerProbe from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static ContainerProbe fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the ContainerProbe." type: "IOException" desc: "Reads an instance of ContainerProbe from the JsonReader." returns: description: "An instance of ContainerProbe if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.httpGet()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.httpGet()" name: "httpGet()" nameWithType: "ContainerProbe.httpGet()" summary: "Get the httpGet property: The Http Get settings to probe." syntax: "public ContainerHttpGet httpGet()" desc: "Get the httpGet property: The Http Get settings to probe." returns: description: "the httpGet value." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.initialDelaySeconds()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.initialDelaySeconds()" name: "initialDelaySeconds()" nameWithType: "ContainerProbe.initialDelaySeconds()" summary: "Get the initialDelaySeconds property: The initial delay seconds." syntax: "public Integer initialDelaySeconds()" desc: "Get the initialDelaySeconds property: The initial delay seconds." returns: description: "the initialDelaySeconds value." type: "Integer" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.periodSeconds()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.periodSeconds()" name: "periodSeconds()" nameWithType: "ContainerProbe.periodSeconds()" summary: "Get the periodSeconds property: The period seconds." syntax: "public Integer periodSeconds()" desc: "Get the periodSeconds property: The period seconds." returns: description: "the periodSeconds value." type: "Integer" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.successThreshold()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.successThreshold()" name: "successThreshold()" nameWithType: "ContainerProbe.successThreshold()" summary: "Get the successThreshold property: The success threshold." syntax: "public Integer successThreshold()" desc: "Get the successThreshold property: The success threshold." returns: description: "the successThreshold value." type: "Integer" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.timeoutSeconds()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.timeoutSeconds()" name: "timeoutSeconds()" nameWithType: "ContainerProbe.timeoutSeconds()" summary: "Get the timeoutSeconds property: The timeout seconds." syntax: "public Integer timeoutSeconds()" desc: "Get the timeoutSeconds property: The timeout seconds." returns: description: "the timeoutSeconds value." type: "Integer" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "ContainerProbe.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.validate()" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.validate()" name: "validate()" nameWithType: "ContainerProbe.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withExec(com.azure.resourcemanager.containerinstance.models.ContainerExec)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withExec(ContainerExec exec)" name: "withExec(ContainerExec exec)" nameWithType: "ContainerProbe.withExec(ContainerExec exec)" summary: "Set the exec property: The execution command to probe." parameters: - description: "the exec value to set." name: "exec" type: "" syntax: "public ContainerProbe withExec(ContainerExec exec)" desc: "Set the exec property: The execution command to probe." returns: description: "the ContainerProbe object itself." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withFailureThreshold(java.lang.Integer)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withFailureThreshold(Integer failureThreshold)" name: "withFailureThreshold(Integer failureThreshold)" nameWithType: "ContainerProbe.withFailureThreshold(Integer failureThreshold)" summary: "Set the failureThreshold property: The failure threshold." parameters: - description: "the failureThreshold value to set." name: "failureThreshold" type: "Integer" syntax: "public ContainerProbe withFailureThreshold(Integer failureThreshold)" desc: "Set the failureThreshold property: The failure threshold." returns: description: "the ContainerProbe object itself." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withHttpGet(com.azure.resourcemanager.containerinstance.models.ContainerHttpGet)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withHttpGet(ContainerHttpGet httpGet)" name: "withHttpGet(ContainerHttpGet httpGet)" nameWithType: "ContainerProbe.withHttpGet(ContainerHttpGet httpGet)" summary: "Set the httpGet property: The Http Get settings to probe." parameters: - description: "the httpGet value to set." name: "httpGet" type: "" syntax: "public ContainerProbe withHttpGet(ContainerHttpGet httpGet)" desc: "Set the httpGet property: The Http Get settings to probe." returns: description: "the ContainerProbe object itself." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withInitialDelaySeconds(java.lang.Integer)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withInitialDelaySeconds(Integer initialDelaySeconds)" name: "withInitialDelaySeconds(Integer initialDelaySeconds)" nameWithType: "ContainerProbe.withInitialDelaySeconds(Integer initialDelaySeconds)" summary: "Set the initialDelaySeconds property: The initial delay seconds." parameters: - description: "the initialDelaySeconds value to set." name: "initialDelaySeconds" type: "Integer" syntax: "public ContainerProbe withInitialDelaySeconds(Integer initialDelaySeconds)" desc: "Set the initialDelaySeconds property: The initial delay seconds." returns: description: "the ContainerProbe object itself." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withPeriodSeconds(java.lang.Integer)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withPeriodSeconds(Integer periodSeconds)" name: "withPeriodSeconds(Integer periodSeconds)" nameWithType: "ContainerProbe.withPeriodSeconds(Integer periodSeconds)" summary: "Set the periodSeconds property: The period seconds." parameters: - description: "the periodSeconds value to set." name: "periodSeconds" type: "Integer" syntax: "public ContainerProbe withPeriodSeconds(Integer periodSeconds)" desc: "Set the periodSeconds property: The period seconds." returns: description: "the ContainerProbe object itself." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withSuccessThreshold(java.lang.Integer)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withSuccessThreshold(Integer successThreshold)" name: "withSuccessThreshold(Integer successThreshold)" nameWithType: "ContainerProbe.withSuccessThreshold(Integer successThreshold)" summary: "Set the successThreshold property: The success threshold." parameters: - description: "the successThreshold value to set." name: "successThreshold" type: "Integer" syntax: "public ContainerProbe withSuccessThreshold(Integer successThreshold)" desc: "Set the successThreshold property: The success threshold." returns: description: "the ContainerProbe object itself." type: "" - uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withTimeoutSeconds(java.lang.Integer)" fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.withTimeoutSeconds(Integer timeoutSeconds)" name: "withTimeoutSeconds(Integer timeoutSeconds)" nameWithType: "ContainerProbe.withTimeoutSeconds(Integer timeoutSeconds)" summary: "Set the timeoutSeconds property: The timeout seconds." parameters: - description: "the timeoutSeconds value to set." name: "timeoutSeconds" type: "Integer" syntax: "public ContainerProbe withTimeoutSeconds(Integer timeoutSeconds)" desc: "Set the timeoutSeconds property: The timeout seconds." returns: description: "the ContainerProbe object itself." type: "" type: "class" desc: "The container probe, for liveness or readiness." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.containerinstance.models" artifact: com.azure.resourcemanager:azure-resourcemanager-containerinstance:2.44.0