Uses of Class
com.azure.resourcemanager.containerinstance.models.SecurityContextDefinition
Packages that use SecurityContextDefinition
Package
Description
Package containing the inner data models for ContainerInstanceManagementClient.
null.
Package containing the data models for ContainerInstanceManagementClient.
null.
-
Uses of SecurityContextDefinition in com.azure.resourcemanager.containerinstance.fluent.models
Methods in com.azure.resourcemanager.containerinstance.fluent.models that return SecurityContextDefinitionModifier and TypeMethodDescriptionContainerProperties.securityContext()Get the securityContext property: The container security properties.InitContainerPropertiesDefinition.securityContext()Get the securityContext property: The container security properties.Methods in com.azure.resourcemanager.containerinstance.fluent.models with parameters of type SecurityContextDefinitionModifier and TypeMethodDescriptionContainerProperties.withSecurityContext(SecurityContextDefinition securityContext) Set the securityContext property: The container security properties.InitContainerPropertiesDefinition.withSecurityContext(SecurityContextDefinition securityContext) Set the securityContext property: The container security properties. -
Uses of SecurityContextDefinition in com.azure.resourcemanager.containerinstance.models
Classes in com.azure.resourcemanager.containerinstance.models that implement interfaces with type arguments of type SecurityContextDefinitionModifier and TypeClassDescriptionfinal classThe security context for the container.Methods in com.azure.resourcemanager.containerinstance.models that return SecurityContextDefinitionModifier and TypeMethodDescriptionstatic SecurityContextDefinitionSecurityContextDefinition.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SecurityContextDefinition from the JsonReader.Container.securityContext()Get the securityContext property: The container security properties.InitContainerDefinition.securityContext()Get the securityContext property: The container security properties.SecurityContextDefinition.withAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) Set the allowPrivilegeEscalation property: A boolean value indicating whether the init process can elevate its privileges.SecurityContextDefinition.withCapabilities(SecurityContextCapabilitiesDefinition capabilities) Set the capabilities property: The capabilities to add or drop from a container.SecurityContextDefinition.withPrivileged(Boolean privileged) Set the privileged property: The flag to determine if the container permissions is elevated to Privileged.SecurityContextDefinition.withRunAsGroup(Integer runAsGroup) Set the runAsGroup property: Sets the User GID for the container.SecurityContextDefinition.withRunAsUser(Integer runAsUser) Set the runAsUser property: Sets the User UID for the container.SecurityContextDefinition.withSeccompProfile(String seccompProfile) Set the seccompProfile property: a base64 encoded string containing the contents of the JSON in the seccomp profile.Methods in com.azure.resourcemanager.containerinstance.models with parameters of type SecurityContextDefinitionModifier and TypeMethodDescriptionContainer.withSecurityContext(SecurityContextDefinition securityContext) Set the securityContext property: The container security properties.InitContainerDefinition.withSecurityContext(SecurityContextDefinition securityContext) Set the securityContext property: The container security properties.