ContainerGroupProfileInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. containerinstance. fluent. models. ContainerGroupProfileInner
- com.
- com.
public final class ContainerGroupProfileInner
extends ProxyResource
A container group profile object.
Constructor Summary
| Constructor | Description |
|---|---|
| ContainerGroupProfileInner() |
Creates an instance of Container |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Confidential |
confidentialComputeProperties()
Get the confidential |
| List<Container> |
containers()
Get the containers property: The containers within the container group. |
|
Container |
diagnostics()
Get the diagnostics property: The diagnostic information for a container group. |
|
Encryption |
encryptionProperties()
Get the encryption |
|
List<Deployment |
extensions()
Get the extensions property: extensions used by virtual kubelet. |
|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
List<Image |
imageRegistryCredentials()
Get the image |
|
List<Init |
initContainers()
Get the init |
|
Ip |
ipAddress()
Get the ip |
| String |
location()
Get the location property: The geo-location where the resource lives. |
| String |
name()
Get the name property: The name of the resource. |
|
Operating |
osType()
Get the os |
|
Container |
priority()
Get the priority property: The priority of the container group. |
| List<Integer> |
registeredRevisions()
Get the registered |
|
Container |
restartPolicy()
Get the restart |
| Integer |
revision()
Get the revision property: Container group profile current revision number. |
|
Security |
securityContext()
Get the security |
|
Offset |
shutdownGracePeriod()
Get the shutdown |
|
Container |
sku()
Get the sku property: The SKU for a container group. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Offset |
timeToLive()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| Boolean |
useKrypton()
Get the use |
| void |
validate()
Validates the instance. |
| List<Volume> |
volumes()
Get the volumes property: The list of volumes that can be mounted by containers in this container group. |
|
Container |
withConfidentialComputeProperties(ConfidentialComputeProperties confidentialComputeProperties)
Set the confidential |
|
Container |
withContainers(List<Container> containers)
Set the containers property: The containers within the container group. |
|
Container |
withDiagnostics(ContainerGroupDiagnostics diagnostics)
Set the diagnostics property: The diagnostic information for a container group. |
|
Container |
withEncryptionProperties(EncryptionProperties encryptionProperties)
Set the encryption |
|
Container |
withExtensions(List<DeploymentExtensionSpec> extensions)
Set the extensions property: extensions used by virtual kubelet. |
|
Container |
withImageRegistryCredentials(List<ImageRegistryCredential> imageRegistryCredentials)
Set the image |
|
Container |
withInitContainers(List<InitContainerDefinition> initContainers)
Set the init |
|
Container |
withIpAddress(IpAddress ipAddress)
Set the ip |
|
Container |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Container |
withOsType(OperatingSystemTypes osType)
Set the os |
|
Container |
withPriority(ContainerGroupPriority priority)
Set the priority property: The priority of the container group. |
|
Container |
withRestartPolicy(ContainerGroupRestartPolicy restartPolicy)
Set the restart |
|
Container |
withSecurityContext(SecurityContextDefinition securityContext)
Set the security |
|
Container |
withShutdownGracePeriod(OffsetDateTime shutdownGracePeriod)
Set the shutdown |
|
Container |
withSku(ContainerGroupSku sku)
Set the sku property: The SKU for a container group. |
|
Container |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
Container |
withTimeToLive(OffsetDateTime timeToLive)
Set the time |
|
Container |
withUseKrypton(Boolean useKrypton)
Set the use |
|
Container |
withVolumes(List<Volume> volumes)
Set the volumes property: The list of volumes that can be mounted by containers in this container group. |
|
Container |
withZones(List<String> zones)
Set the zones property: The availability zones. |
| List<String> |
zones()
Get the zones property: The availability zones. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ContainerGroupProfileInner
public ContainerGroupProfileInner()
Creates an instance of ContainerGroupProfileInner class.
Method Details
confidentialComputeProperties
public ConfidentialComputeProperties confidentialComputeProperties()
Get the confidentialComputeProperties property: The properties for confidential container group.
Returns:
containers
public List<Container> containers()
Get the containers property: The containers within the container group.
Returns:
diagnostics
public ContainerGroupDiagnostics diagnostics()
Get the diagnostics property: The diagnostic information for a container group.
Returns:
encryptionProperties
public EncryptionProperties encryptionProperties()
Get the encryptionProperties property: The encryption properties for a container group.
Returns:
extensions
public List<DeploymentExtensionSpec> extensions()
Get the extensions property: extensions used by virtual kubelet.
Returns:
fromJson
public static ContainerGroupProfileInner fromJson(JsonReader jsonReader)
Reads an instance of ContainerGroupProfileInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ContainerGroupProfileInner.id()Returns:
imageRegistryCredentials
public List<ImageRegistryCredential> imageRegistryCredentials()
Get the imageRegistryCredentials property: The image registry credentials by which the container group is created from.
Returns:
initContainers
public List<InitContainerDefinition> initContainers()
Get the initContainers property: The init containers for a container group.
Returns:
ipAddress
public IpAddress ipAddress()
Get the ipAddress property: The IP address type of the container group.
Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ContainerGroupProfileInner.name()Returns:
osType
public OperatingSystemTypes osType()
Get the osType property: The operating system type required by the containers in the container group.
Returns:
priority
public ContainerGroupPriority priority()
Get the priority property: The priority of the container group.
Returns:
registeredRevisions
public List<Integer> registeredRevisions()
Get the registeredRevisions property: Registered revisions are calculated at request time based off the records in the table logs.
Returns:
restartPolicy
public ContainerGroupRestartPolicy restartPolicy()
Get the restartPolicy property: Restart policy for all containers within the container group. - `Always` Always restart - `OnFailure` Restart on failure - `Never` Never restart.
Returns:
revision
public Integer revision()
Get the revision property: Container group profile current revision number.
Returns:
securityContext
public SecurityContextDefinition securityContext()
Get the securityContext property: The container security properties.
Returns:
shutdownGracePeriod
public OffsetDateTime shutdownGracePeriod()
Get the shutdownGracePeriod property: Shutdown grace period for containers in a container group.
Returns:
sku
public ContainerGroupSku sku()
Get the sku property: The SKU for a container group.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
timeToLive
public OffsetDateTime timeToLive()
Get the timeToLive property: Post completion time to live for containers of a CG.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ContainerGroupProfileInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ContainerGroupProfileInner.type()Returns:
useKrypton
public Boolean useKrypton()
Get the useKrypton property: Gets or sets Krypton use property.
Returns:
validate
public void validate()
Validates the instance.
volumes
public List<Volume> volumes()
Get the volumes property: The list of volumes that can be mounted by containers in this container group.
Returns:
withConfidentialComputeProperties
public ContainerGroupProfileInner withConfidentialComputeProperties(ConfidentialComputeProperties confidentialComputeProperties)
Set the confidentialComputeProperties property: The properties for confidential container group.
Parameters:
Returns:
withContainers
public ContainerGroupProfileInner withContainers(List<Container> containers)
Set the containers property: The containers within the container group.
Parameters:
Returns:
withDiagnostics
public ContainerGroupProfileInner withDiagnostics(ContainerGroupDiagnostics diagnostics)
Set the diagnostics property: The diagnostic information for a container group.
Parameters:
Returns:
withEncryptionProperties
public ContainerGroupProfileInner withEncryptionProperties(EncryptionProperties encryptionProperties)
Set the encryptionProperties property: The encryption properties for a container group.
Parameters:
Returns:
withExtensions
public ContainerGroupProfileInner withExtensions(List<DeploymentExtensionSpec> extensions)
Set the extensions property: extensions used by virtual kubelet.
Parameters:
Returns:
withImageRegistryCredentials
public ContainerGroupProfileInner withImageRegistryCredentials(List<ImageRegistryCredential> imageRegistryCredentials)
Set the imageRegistryCredentials property: The image registry credentials by which the container group is created from.
Parameters:
Returns:
withInitContainers
public ContainerGroupProfileInner withInitContainers(List<InitContainerDefinition> initContainers)
Set the initContainers property: The init containers for a container group.
Parameters:
Returns:
withIpAddress
public ContainerGroupProfileInner withIpAddress(IpAddress ipAddress)
Set the ipAddress property: The IP address type of the container group.
Parameters:
Returns:
withLocation
public ContainerGroupProfileInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withOsType
public ContainerGroupProfileInner withOsType(OperatingSystemTypes osType)
Set the osType property: The operating system type required by the containers in the container group.
Parameters:
Returns:
withPriority
public ContainerGroupProfileInner withPriority(ContainerGroupPriority priority)
Set the priority property: The priority of the container group.
Parameters:
Returns:
withRestartPolicy
public ContainerGroupProfileInner withRestartPolicy(ContainerGroupRestartPolicy restartPolicy)
Set the restartPolicy property: Restart policy for all containers within the container group. - `Always` Always restart - `OnFailure` Restart on failure - `Never` Never restart.
Parameters:
Returns:
withSecurityContext
public ContainerGroupProfileInner withSecurityContext(SecurityContextDefinition securityContext)
Set the securityContext property: The container security properties.
Parameters:
Returns:
withShutdownGracePeriod
public ContainerGroupProfileInner withShutdownGracePeriod(OffsetDateTime shutdownGracePeriod)
Set the shutdownGracePeriod property: Shutdown grace period for containers in a container group.
Parameters:
Returns:
withSku
public ContainerGroupProfileInner withSku(ContainerGroupSku sku)
Set the sku property: The SKU for a container group.
Parameters:
Returns:
withTags
public ContainerGroupProfileInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns:
withTimeToLive
public ContainerGroupProfileInner withTimeToLive(OffsetDateTime timeToLive)
Set the timeToLive property: Post completion time to live for containers of a CG.
Parameters:
Returns:
withUseKrypton
public ContainerGroupProfileInner withUseKrypton(Boolean useKrypton)
Set the useKrypton property: Gets or sets Krypton use property.
Parameters:
Returns:
withVolumes
public ContainerGroupProfileInner withVolumes(List<Volume> volumes)
Set the volumes property: The list of volumes that can be mounted by containers in this container group.
Parameters:
Returns:
withZones
public ContainerGroupProfileInner withZones(List<String> zones)
Set the zones property: The availability zones.
Parameters:
Returns:
zones
public List<String> zones()
Get the zones property: The availability zones.
Returns: