azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

166 строки
13 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition"
name: "InitContainerDefinition"
nameWithType: "InitContainerDefinition"
summary: "The init container definition."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **InitContainerDefinition**"
constructors:
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.InitContainerDefinition()"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.InitContainerDefinition()"
name: "InitContainerDefinition()"
nameWithType: "InitContainerDefinition.InitContainerDefinition()"
syntax: "public InitContainerDefinition()"
methods:
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.command()"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.command()"
name: "command()"
nameWithType: "InitContainerDefinition.command()"
summary: "Get the command to execute within the init container in exec form."
syntax: "public List<String> command()"
desc: "Get the command to execute within the init container in exec form."
returns:
description: "the command value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.environmentVariables()"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.environmentVariables()"
name: "environmentVariables()"
nameWithType: "InitContainerDefinition.environmentVariables()"
summary: "Get the environment variables to set in the init container."
syntax: "public List<EnvironmentVariable> environmentVariables()"
desc: "Get the environment variables to set in the init container."
returns:
description: "the environmentVariables value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.containerinstance.EnvironmentVariable?alt=com.microsoft.azure.management.containerinstance.EnvironmentVariable&text=EnvironmentVariable\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.image()"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.image()"
name: "image()"
nameWithType: "InitContainerDefinition.image()"
summary: "Get the image of the init container."
syntax: "public String image()"
desc: "Get the image of the init container."
returns:
description: "the image value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.instanceView()"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.instanceView()"
name: "instanceView()"
nameWithType: "InitContainerDefinition.instanceView()"
summary: "Get the instance view of the init container."
syntax: "public InitContainerPropertiesDefinitionInstanceView instanceView()"
desc: "Get the instance view of the init container. Only valid in response."
returns:
description: "the instanceView value"
type: "<xref href=\"com.microsoft.azure.management.containerinstance.InitContainerPropertiesDefinitionInstanceView?alt=com.microsoft.azure.management.containerinstance.InitContainerPropertiesDefinitionInstanceView&text=InitContainerPropertiesDefinitionInstanceView\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.name()"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.name()"
name: "name()"
nameWithType: "InitContainerDefinition.name()"
summary: "Get the name for the init container."
syntax: "public String name()"
desc: "Get the name for the init container."
returns:
description: "the name value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.volumeMounts()"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.volumeMounts()"
name: "volumeMounts()"
nameWithType: "InitContainerDefinition.volumeMounts()"
summary: "Get the volume mounts available to the init container."
syntax: "public List<VolumeMount> volumeMounts()"
desc: "Get the volume mounts available to the init container."
returns:
description: "the volumeMounts value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.containerinstance.VolumeMount?alt=com.microsoft.azure.management.containerinstance.VolumeMount&text=VolumeMount\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withCommand(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withCommand(List<String> command)"
name: "withCommand(List<String> command)"
nameWithType: "InitContainerDefinition.withCommand(List<String> command)"
summary: "Set the command to execute within the init container in exec form."
parameters:
- description: "the command value to set"
name: "command"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public InitContainerDefinition withCommand(List<String> command)"
desc: "Set the command to execute within the init container in exec form."
returns:
description: "the InitContainerDefinition object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.InitContainerDefinition?alt=com.microsoft.azure.management.containerinstance.InitContainerDefinition&text=InitContainerDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withEnvironmentVariables(java.util.List<com.microsoft.azure.management.containerinstance.EnvironmentVariable>)"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)"
name: "withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)"
nameWithType: "InitContainerDefinition.withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)"
summary: "Set the environment variables to set in the init container."
parameters:
- description: "the environmentVariables value to set"
name: "environmentVariables"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.containerinstance.EnvironmentVariable?alt=com.microsoft.azure.management.containerinstance.EnvironmentVariable&text=EnvironmentVariable\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public InitContainerDefinition withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)"
desc: "Set the environment variables to set in the init container."
returns:
description: "the InitContainerDefinition object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.InitContainerDefinition?alt=com.microsoft.azure.management.containerinstance.InitContainerDefinition&text=InitContainerDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withImage(java.lang.String)"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withImage(String image)"
name: "withImage(String image)"
nameWithType: "InitContainerDefinition.withImage(String image)"
summary: "Set the image of the init container."
parameters:
- description: "the image value to set"
name: "image"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public InitContainerDefinition withImage(String image)"
desc: "Set the image of the init container."
returns:
description: "the InitContainerDefinition object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.InitContainerDefinition?alt=com.microsoft.azure.management.containerinstance.InitContainerDefinition&text=InitContainerDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withName(java.lang.String)"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withName(String name)"
name: "withName(String name)"
nameWithType: "InitContainerDefinition.withName(String name)"
summary: "Set the name for the init container."
parameters:
- description: "the name value to set"
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public InitContainerDefinition withName(String name)"
desc: "Set the name for the init container."
returns:
description: "the InitContainerDefinition object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.InitContainerDefinition?alt=com.microsoft.azure.management.containerinstance.InitContainerDefinition&text=InitContainerDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withVolumeMounts(java.util.List<com.microsoft.azure.management.containerinstance.VolumeMount>)"
fullName: "com.microsoft.azure.management.containerinstance.InitContainerDefinition.withVolumeMounts(List<VolumeMount> volumeMounts)"
name: "withVolumeMounts(List<VolumeMount> volumeMounts)"
nameWithType: "InitContainerDefinition.withVolumeMounts(List<VolumeMount> volumeMounts)"
summary: "Set the volume mounts available to the init container."
parameters:
- description: "the volumeMounts value to set"
name: "volumeMounts"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.containerinstance.VolumeMount?alt=com.microsoft.azure.management.containerinstance.VolumeMount&text=VolumeMount\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public InitContainerDefinition withVolumeMounts(List<VolumeMount> volumeMounts)"
desc: "Set the volume mounts available to the init container."
returns:
description: "the InitContainerDefinition object itself."
type: "<xref href=\"com.microsoft.azure.management.containerinstance.InitContainerDefinition?alt=com.microsoft.azure.management.containerinstance.InitContainerDefinition&text=InitContainerDefinition\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The init container definition."
metadata: {}
package: "com.microsoft.azure.management.containerinstance"
artifact: com.microsoft.azure:azure-mgmt-containerinstance:1.41.4