azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

246 строки
18 KiB
YAML

### 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:
- "<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 **ContainerProbe**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />&gt;"
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 Container<wbr>Probe 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: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerExec?alt=com.azure.resourcemanager.containerinstance.models.ContainerExec&text=ContainerExec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.failureThreshold()"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.failureThreshold()"
name: "failureThreshold()"
nameWithType: "ContainerProbe.failureThreshold()"
summary: "Get the failure<wbr>Threshold property: The failure threshold."
syntax: "public Integer failureThreshold()"
desc: "Get the failureThreshold property: The failure threshold."
returns:
description: "the failureThreshold value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- 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 Container<wbr>Probe 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 ContainerProbe fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ContainerProbe."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
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: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.httpGet()"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.httpGet()"
name: "httpGet()"
nameWithType: "ContainerProbe.httpGet()"
summary: "Get the http<wbr>Get 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: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerHttpGet?alt=com.azure.resourcemanager.containerinstance.models.ContainerHttpGet&text=ContainerHttpGet\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.initialDelaySeconds()"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.initialDelaySeconds()"
name: "initialDelaySeconds()"
nameWithType: "ContainerProbe.initialDelaySeconds()"
summary: "Get the initial<wbr>Delay<wbr>Seconds property: The initial delay seconds."
syntax: "public Integer initialDelaySeconds()"
desc: "Get the initialDelaySeconds property: The initial delay seconds."
returns:
description: "the initialDelaySeconds value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.periodSeconds()"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.periodSeconds()"
name: "periodSeconds()"
nameWithType: "ContainerProbe.periodSeconds()"
summary: "Get the period<wbr>Seconds property: The period seconds."
syntax: "public Integer periodSeconds()"
desc: "Get the periodSeconds property: The period seconds."
returns:
description: "the periodSeconds value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.successThreshold()"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.successThreshold()"
name: "successThreshold()"
nameWithType: "ContainerProbe.successThreshold()"
summary: "Get the success<wbr>Threshold property: The success threshold."
syntax: "public Integer successThreshold()"
desc: "Get the successThreshold property: The success threshold."
returns:
description: "the successThreshold value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.timeoutSeconds()"
fullName: "com.azure.resourcemanager.containerinstance.models.ContainerProbe.timeoutSeconds()"
name: "timeoutSeconds()"
nameWithType: "ContainerProbe.timeoutSeconds()"
summary: "Get the timeout<wbr>Seconds property: The timeout seconds."
syntax: "public Integer timeoutSeconds()"
desc: "Get the timeoutSeconds property: The timeout seconds."
returns:
description: "the timeoutSeconds value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- 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: "<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.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: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerExec?alt=com.azure.resourcemanager.containerinstance.models.ContainerExec&text=ContainerExec\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ContainerProbe withExec(ContainerExec exec)"
desc: "Set the exec property: The execution command to probe."
returns:
description: "the ContainerProbe object itself."
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
- 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 failure<wbr>Threshold property: The failure threshold."
parameters:
- description: "the failureThreshold value to set."
name: "failureThreshold"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ContainerProbe withFailureThreshold(Integer failureThreshold)"
desc: "Set the failureThreshold property: The failure threshold."
returns:
description: "the ContainerProbe object itself."
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
- 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 http<wbr>Get property: The Http Get settings to probe."
parameters:
- description: "the httpGet value to set."
name: "httpGet"
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerHttpGet?alt=com.azure.resourcemanager.containerinstance.models.ContainerHttpGet&text=ContainerHttpGet\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ContainerProbe withHttpGet(ContainerHttpGet httpGet)"
desc: "Set the httpGet property: The Http Get settings to probe."
returns:
description: "the ContainerProbe object itself."
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
- 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 initial<wbr>Delay<wbr>Seconds property: The initial delay seconds."
parameters:
- description: "the initialDelaySeconds value to set."
name: "initialDelaySeconds"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ContainerProbe withInitialDelaySeconds(Integer initialDelaySeconds)"
desc: "Set the initialDelaySeconds property: The initial delay seconds."
returns:
description: "the ContainerProbe object itself."
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
- 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 period<wbr>Seconds property: The period seconds."
parameters:
- description: "the periodSeconds value to set."
name: "periodSeconds"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ContainerProbe withPeriodSeconds(Integer periodSeconds)"
desc: "Set the periodSeconds property: The period seconds."
returns:
description: "the ContainerProbe object itself."
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
- 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 success<wbr>Threshold property: The success threshold."
parameters:
- description: "the successThreshold value to set."
name: "successThreshold"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ContainerProbe withSuccessThreshold(Integer successThreshold)"
desc: "Set the successThreshold property: The success threshold."
returns:
description: "the ContainerProbe object itself."
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
- 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 timeout<wbr>Seconds property: The timeout seconds."
parameters:
- description: "the timeoutSeconds value to set."
name: "timeoutSeconds"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ContainerProbe withTimeoutSeconds(Integer timeoutSeconds)"
desc: "Set the timeoutSeconds property: The timeout seconds."
returns:
description: "the ContainerProbe object itself."
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The container probe, for liveness or readiness."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.containerinstance.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-containerinstance:2.44.0