328 строки
25 KiB
YAML
328 строки
25 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.containerinstance.models.Container"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container"
|
|
name: "Container"
|
|
nameWithType: "Container"
|
|
summary: "A container instance."
|
|
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 **Container**</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.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.Container()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.Container()"
|
|
name: "Container()"
|
|
nameWithType: "Container.Container()"
|
|
summary: "Creates an instance of Container class."
|
|
syntax: "public Container()"
|
|
desc: "Creates an instance of Container class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.command()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.command()"
|
|
name: "command()"
|
|
nameWithType: "Container.command()"
|
|
summary: "Get the command property: The commands to execute within the container instance in exec form."
|
|
syntax: "public List<String> command()"
|
|
desc: "Get the command property: The commands to execute within the container instance in exec form."
|
|
returns:
|
|
description: "the command value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.environmentVariables()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.environmentVariables()"
|
|
name: "environmentVariables()"
|
|
nameWithType: "Container.environmentVariables()"
|
|
summary: "Get the environment<wbr>Variables property: The environment variables to set in the container instance."
|
|
syntax: "public List<EnvironmentVariable> environmentVariables()"
|
|
desc: "Get the environmentVariables property: The environment variables to set in the container instance."
|
|
returns:
|
|
description: "the environmentVariables value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.containerinstance.models.EnvironmentVariable?alt=com.azure.resourcemanager.containerinstance.models.EnvironmentVariable&text=EnvironmentVariable\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "Container.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Container 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 Container fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of Container from the JsonReader."
|
|
returns:
|
|
description: "An instance of Container if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.image()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.image()"
|
|
name: "image()"
|
|
nameWithType: "Container.image()"
|
|
summary: "Get the image property: The name of the image used to create the container instance."
|
|
syntax: "public String image()"
|
|
desc: "Get the image property: The name of the image used to create the container instance."
|
|
returns:
|
|
description: "the image value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.instanceView()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.instanceView()"
|
|
name: "instanceView()"
|
|
nameWithType: "Container.instanceView()"
|
|
summary: "Get the instance<wbr>View property: The instance view of the container instance."
|
|
syntax: "public ContainerPropertiesInstanceView instanceView()"
|
|
desc: "Get the instanceView property: The instance view of the container instance. Only valid in response."
|
|
returns:
|
|
description: "the instanceView value."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerPropertiesInstanceView?alt=com.azure.resourcemanager.containerinstance.models.ContainerPropertiesInstanceView&text=ContainerPropertiesInstanceView\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.livenessProbe()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.livenessProbe()"
|
|
name: "livenessProbe()"
|
|
nameWithType: "Container.livenessProbe()"
|
|
summary: "Get the liveness<wbr>Probe property: The liveness probe."
|
|
syntax: "public ContainerProbe livenessProbe()"
|
|
desc: "Get the livenessProbe property: The liveness probe."
|
|
returns:
|
|
description: "the livenessProbe value."
|
|
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.Container.name()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.name()"
|
|
name: "name()"
|
|
nameWithType: "Container.name()"
|
|
summary: "Get the name property: The user-provided name of the container instance."
|
|
syntax: "public String name()"
|
|
desc: "Get the name property: The user-provided name of the container instance."
|
|
returns:
|
|
description: "the name value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.ports()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.ports()"
|
|
name: "ports()"
|
|
nameWithType: "Container.ports()"
|
|
summary: "Get the ports property: The exposed ports on the container instance."
|
|
syntax: "public List<ContainerPort> ports()"
|
|
desc: "Get the ports property: The exposed ports on the container instance."
|
|
returns:
|
|
description: "the ports value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerPort?alt=com.azure.resourcemanager.containerinstance.models.ContainerPort&text=ContainerPort\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.readinessProbe()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.readinessProbe()"
|
|
name: "readinessProbe()"
|
|
nameWithType: "Container.readinessProbe()"
|
|
summary: "Get the readiness<wbr>Probe property: The readiness probe."
|
|
syntax: "public ContainerProbe readinessProbe()"
|
|
desc: "Get the readinessProbe property: The readiness probe."
|
|
returns:
|
|
description: "the readinessProbe value."
|
|
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.Container.resources()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.resources()"
|
|
name: "resources()"
|
|
nameWithType: "Container.resources()"
|
|
summary: "Get the resources property: The resource requirements of the container instance."
|
|
syntax: "public ResourceRequirements resources()"
|
|
desc: "Get the resources property: The resource requirements of the container instance."
|
|
returns:
|
|
description: "the resources value."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceRequirements?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequirements&text=ResourceRequirements\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.securityContext()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.securityContext()"
|
|
name: "securityContext()"
|
|
nameWithType: "Container.securityContext()"
|
|
summary: "Get the security<wbr>Context property: The container security properties."
|
|
syntax: "public SecurityContextDefinition securityContext()"
|
|
desc: "Get the securityContext property: The container security properties."
|
|
returns:
|
|
description: "the securityContext value."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.SecurityContextDefinition?alt=com.azure.resourcemanager.containerinstance.models.SecurityContextDefinition&text=SecurityContextDefinition\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "Container.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.Container.validate()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.validate()"
|
|
name: "validate()"
|
|
nameWithType: "Container.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.volumeMounts()"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.volumeMounts()"
|
|
name: "volumeMounts()"
|
|
nameWithType: "Container.volumeMounts()"
|
|
summary: "Get the volume<wbr>Mounts property: The volume mounts available to the container instance."
|
|
syntax: "public List<VolumeMount> volumeMounts()"
|
|
desc: "Get the volumeMounts property: The volume mounts available to the container instance."
|
|
returns:
|
|
description: "the volumeMounts value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.containerinstance.models.VolumeMount?alt=com.azure.resourcemanager.containerinstance.models.VolumeMount&text=VolumeMount\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withCommand(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withCommand(List<String> command)"
|
|
name: "withCommand(List<String> command)"
|
|
nameWithType: "Container.withCommand(List<String> command)"
|
|
summary: "Set the command property: The commands to execute within the container instance in exec form."
|
|
parameters:
|
|
- description: "the command value to set."
|
|
name: "command"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public Container withCommand(List<String> command)"
|
|
desc: "Set the command property: The commands to execute within the container instance in exec form."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withEnvironmentVariables(java.util.List<com.azure.resourcemanager.containerinstance.models.EnvironmentVariable>)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)"
|
|
name: "withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)"
|
|
nameWithType: "Container.withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)"
|
|
summary: "Set the environment<wbr>Variables property: The environment variables to set in the container instance."
|
|
parameters:
|
|
- description: "the environmentVariables value to set."
|
|
name: "environmentVariables"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.containerinstance.models.EnvironmentVariable?alt=com.azure.resourcemanager.containerinstance.models.EnvironmentVariable&text=EnvironmentVariable\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public Container withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)"
|
|
desc: "Set the environmentVariables property: The environment variables to set in the container instance."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withImage(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withImage(String image)"
|
|
name: "withImage(String image)"
|
|
nameWithType: "Container.withImage(String image)"
|
|
summary: "Set the image property: The name of the image used to create the container instance."
|
|
parameters:
|
|
- description: "the image value to set."
|
|
name: "image"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Container withImage(String image)"
|
|
desc: "Set the image property: The name of the image used to create the container instance."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withLivenessProbe(com.azure.resourcemanager.containerinstance.models.ContainerProbe)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withLivenessProbe(ContainerProbe livenessProbe)"
|
|
name: "withLivenessProbe(ContainerProbe livenessProbe)"
|
|
nameWithType: "Container.withLivenessProbe(ContainerProbe livenessProbe)"
|
|
summary: "Set the liveness<wbr>Probe property: The liveness probe."
|
|
parameters:
|
|
- description: "the livenessProbe value to set."
|
|
name: "livenessProbe"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Container withLivenessProbe(ContainerProbe livenessProbe)"
|
|
desc: "Set the livenessProbe property: The liveness probe."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withName(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withName(String name)"
|
|
name: "withName(String name)"
|
|
nameWithType: "Container.withName(String name)"
|
|
summary: "Set the name property: The user-provided name of the container instance."
|
|
parameters:
|
|
- description: "the name value to set."
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Container withName(String name)"
|
|
desc: "Set the name property: The user-provided name of the container instance."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withPorts(java.util.List<com.azure.resourcemanager.containerinstance.models.ContainerPort>)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withPorts(List<ContainerPort> ports)"
|
|
name: "withPorts(List<ContainerPort> ports)"
|
|
nameWithType: "Container.withPorts(List<ContainerPort> ports)"
|
|
summary: "Set the ports property: The exposed ports on the container instance."
|
|
parameters:
|
|
- description: "the ports value to set."
|
|
name: "ports"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerPort?alt=com.azure.resourcemanager.containerinstance.models.ContainerPort&text=ContainerPort\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public Container withPorts(List<ContainerPort> ports)"
|
|
desc: "Set the ports property: The exposed ports on the container instance."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withReadinessProbe(com.azure.resourcemanager.containerinstance.models.ContainerProbe)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withReadinessProbe(ContainerProbe readinessProbe)"
|
|
name: "withReadinessProbe(ContainerProbe readinessProbe)"
|
|
nameWithType: "Container.withReadinessProbe(ContainerProbe readinessProbe)"
|
|
summary: "Set the readiness<wbr>Probe property: The readiness probe."
|
|
parameters:
|
|
- description: "the readinessProbe value to set."
|
|
name: "readinessProbe"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ContainerProbe?alt=com.azure.resourcemanager.containerinstance.models.ContainerProbe&text=ContainerProbe\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Container withReadinessProbe(ContainerProbe readinessProbe)"
|
|
desc: "Set the readinessProbe property: The readiness probe."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withResources(com.azure.resourcemanager.containerinstance.models.ResourceRequirements)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withResources(ResourceRequirements resources)"
|
|
name: "withResources(ResourceRequirements resources)"
|
|
nameWithType: "Container.withResources(ResourceRequirements resources)"
|
|
summary: "Set the resources property: The resource requirements of the container instance."
|
|
parameters:
|
|
- description: "the resources value to set."
|
|
name: "resources"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.ResourceRequirements?alt=com.azure.resourcemanager.containerinstance.models.ResourceRequirements&text=ResourceRequirements\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Container withResources(ResourceRequirements resources)"
|
|
desc: "Set the resources property: The resource requirements of the container instance."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withSecurityContext(com.azure.resourcemanager.containerinstance.models.SecurityContextDefinition)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withSecurityContext(SecurityContextDefinition securityContext)"
|
|
name: "withSecurityContext(SecurityContextDefinition securityContext)"
|
|
nameWithType: "Container.withSecurityContext(SecurityContextDefinition securityContext)"
|
|
summary: "Set the security<wbr>Context property: The container security properties."
|
|
parameters:
|
|
- description: "the securityContext value to set."
|
|
name: "securityContext"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.SecurityContextDefinition?alt=com.azure.resourcemanager.containerinstance.models.SecurityContextDefinition&text=SecurityContextDefinition\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Container withSecurityContext(SecurityContextDefinition securityContext)"
|
|
desc: "Set the securityContext property: The container security properties."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerinstance.models.Container.withVolumeMounts(java.util.List<com.azure.resourcemanager.containerinstance.models.VolumeMount>)"
|
|
fullName: "com.azure.resourcemanager.containerinstance.models.Container.withVolumeMounts(List<VolumeMount> volumeMounts)"
|
|
name: "withVolumeMounts(List<VolumeMount> volumeMounts)"
|
|
nameWithType: "Container.withVolumeMounts(List<VolumeMount> volumeMounts)"
|
|
summary: "Set the volume<wbr>Mounts property: The volume mounts available to the container instance."
|
|
parameters:
|
|
- description: "the volumeMounts value to set."
|
|
name: "volumeMounts"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.containerinstance.models.VolumeMount?alt=com.azure.resourcemanager.containerinstance.models.VolumeMount&text=VolumeMount\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public Container withVolumeMounts(List<VolumeMount> volumeMounts)"
|
|
desc: "Set the volumeMounts property: The volume mounts available to the container instance."
|
|
returns:
|
|
description: "the Container object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "A container instance."
|
|
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.containerinstance.models.Container?alt=com.azure.resourcemanager.containerinstance.models.Container&text=Container\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.containerinstance.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-containerinstance:2.44.0
|