ContainerGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. containerinstance. fluent. models. ContainerGroupInner
- com.
- com.
- com.
public final class ContainerGroupInner
extends Resource
A container group.
Constructor Summary
Constructor | Description |
---|---|
ContainerGroupInner() |
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. |
Dns |
dnsConfig()
Get the dns |
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. |
Container |
identity()
Get the identity property: The identity of the container group, if configured. |
List<Image |
imageRegistryCredentials()
Get the image |
List<Init |
initContainers()
Get the init |
Container |
instanceView()
Get the instance |
Ip |
ipAddress()
Get the ip |
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. |
String |
provisioningState()
Get the provisioning |
Container |
restartPolicy()
Get the restart |
Container |
sku()
Get the sku property: The SKU for a container group. |
List<Container |
subnetIds()
Get the subnet |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
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 |
withDnsConfig(DnsConfiguration dnsConfig)
Set the dns |
Container |
withEncryptionProperties(EncryptionProperties encryptionProperties)
Set the encryption |
Container |
withExtensions(List<DeploymentExtensionSpec> extensions)
Set the extensions property: extensions used by virtual kubelet. |
Container |
withIdentity(ContainerGroupIdentity identity)
Set the identity property: The identity of the container group, if configured. |
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) |
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 |
withSku(ContainerGroupSku sku)
Set the sku property: The SKU for a container group. |
Container |
withSubnetIds(List<ContainerGroupSubnetId> subnetIds)
Set the subnet |
Container |
withTags(Map<String,String> tags) |
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 zones for the container group. |
List<String> |
zones()
Get the zones property: The zones for the container group. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ContainerGroupInner
public ContainerGroupInner()
Creates an instance of ContainerGroupInner class.
Method Details
confidentialComputeProperties
public ConfidentialComputeProperties confidentialComputeProperties()
Get the confidentialComputeProperties property: The properties for confidential container group.
Returns:
containers
public List
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:
dnsConfig
public DnsConfiguration dnsConfig()
Get the dnsConfig property: The DNS config 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
Get the extensions property: extensions used by virtual kubelet.
Returns:
fromJson
public static ContainerGroupInner fromJson(JsonReader jsonReader)
Reads an instance of ContainerGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ContainerGroupInner.id()Returns:
identity
public ContainerGroupIdentity identity()
Get the identity property: The identity of the container group, if configured.
Returns:
imageRegistryCredentials
public List
Get the imageRegistryCredentials property: The image registry credentials by which the container group is created from.
Returns:
initContainers
public List
Get the initContainers property: The init containers for a container group.
Returns:
instanceView
public ContainerGroupPropertiesInstanceView instanceView()
Get the instanceView property: The instance view of the container group. Only valid in response.
Returns:
ipAddress
public IpAddress ipAddress()
Get the ipAddress property: The IP address type of the container group.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ContainerGroupInner.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:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state of the container group. This only appears in the response.
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:
sku
public ContainerGroupSku sku()
Get the sku property: The SKU for a container group.
Returns:
subnetIds
public List
Get the subnetIds property: The subnet resource IDs for a container group.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ContainerGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ContainerGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
volumes
public List
Get the volumes property: The list of volumes that can be mounted by containers in this container group.
Returns:
withConfidentialComputeProperties
public ContainerGroupInner withConfidentialComputeProperties(ConfidentialComputeProperties confidentialComputeProperties)
Set the confidentialComputeProperties property: The properties for confidential container group.
Parameters:
Returns:
withContainers
public ContainerGroupInner withContainers(List
Set the containers property: The containers within the container group.
Parameters:
Returns:
withDiagnostics
public ContainerGroupInner withDiagnostics(ContainerGroupDiagnostics diagnostics)
Set the diagnostics property: The diagnostic information for a container group.
Parameters:
Returns:
withDnsConfig
public ContainerGroupInner withDnsConfig(DnsConfiguration dnsConfig)
Set the dnsConfig property: The DNS config information for a container group.
Parameters:
Returns:
withEncryptionProperties
public ContainerGroupInner withEncryptionProperties(EncryptionProperties encryptionProperties)
Set the encryptionProperties property: The encryption properties for a container group.
Parameters:
Returns:
withExtensions
public ContainerGroupInner withExtensions(List
Set the extensions property: extensions used by virtual kubelet.
Parameters:
Returns:
withIdentity
public ContainerGroupInner withIdentity(ContainerGroupIdentity identity)
Set the identity property: The identity of the container group, if configured.
Parameters:
Returns:
withImageRegistryCredentials
public ContainerGroupInner withImageRegistryCredentials(List
Set the imageRegistryCredentials property: The image registry credentials by which the container group is created from.
Parameters:
Returns:
withInitContainers
public ContainerGroupInner withInitContainers(List
Set the initContainers property: The init containers for a container group.
Parameters:
Returns:
withIpAddress
public ContainerGroupInner withIpAddress(IpAddress ipAddress)
Set the ipAddress property: The IP address type of the container group.
Parameters:
Returns:
withLocation
public ContainerGroupInner withLocation(String location)
Overrides:
ContainerGroupInner.withLocation(String location)Parameters:
withOsType
public ContainerGroupInner withOsType(OperatingSystemTypes osType)
Set the osType property: The operating system type required by the containers in the container group.
Parameters:
Returns:
withPriority
public ContainerGroupInner withPriority(ContainerGroupPriority priority)
Set the priority property: The priority of the container group.
Parameters:
Returns:
withRestartPolicy
public ContainerGroupInner 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:
withSku
public ContainerGroupInner withSku(ContainerGroupSku sku)
Set the sku property: The SKU for a container group.
Parameters:
Returns:
withSubnetIds
public ContainerGroupInner withSubnetIds(List
Set the subnetIds property: The subnet resource IDs for a container group.
Parameters:
Returns:
withTags
public ContainerGroupInner withTags(Map
Overrides:
ContainerGroupInner.withTags(Map<String,String> tags)Parameters:
withVolumes
public ContainerGroupInner withVolumes(List
Set the volumes property: The list of volumes that can be mounted by containers in this container group.
Parameters:
Returns:
withZones
public ContainerGroupInner withZones(List
Set the zones property: The zones for the container group.
Parameters:
Returns:
zones
public List
Get the zones property: The zones for the container group.
Returns:
Applies to
Azure SDK for Java