public class ContainerGroupInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ContainerGroupInner() |
| Modifier and Type | Method and Description |
|---|---|
List<Container> |
containers()
Get the containers property: The containers within the container group.
|
ContainerGroupDiagnostics |
diagnostics()
Get the diagnostics property: The diagnostic information for a container group.
|
DnsConfiguration |
dnsConfig()
Get the dnsConfig property: The DNS config information for a container group.
|
EncryptionProperties |
encryptionProperties()
Get the encryptionProperties property: The encryption properties for a container group.
|
ContainerGroupIdentity |
identity()
Get the identity property: The identity of the container group, if configured.
|
List<ImageRegistryCredential> |
imageRegistryCredentials()
Get the imageRegistryCredentials property: The image registry credentials by which the container group is created
from.
|
List<InitContainerDefinition> |
initContainers()
Get the initContainers property: The init containers for a container group.
|
ContainerGroupPropertiesInstanceView |
instanceView()
Get the instanceView property: The instance view of the container group.
|
IpAddress |
ipAddress()
Get the ipAddress property: The IP address type of the container group.
|
ContainerGroupNetworkProfile |
networkProfile()
Get the networkProfile property: The network profile information for a container group.
|
OperatingSystemTypes |
osType()
Get the osType property: The operating system type required by the containers in the container group.
|
String |
provisioningState()
Get the provisioningState property: The provisioning state of the container group.
|
ContainerGroupRestartPolicy |
restartPolicy()
Get the restartPolicy property: Restart policy for all containers within the container group.
|
ContainerGroupSku |
sku()
Get the sku property: The SKU for a container group.
|
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.
|
ContainerGroupInner |
withContainers(List<Container> containers)
Set the containers property: The containers within the container group.
|
ContainerGroupInner |
withDiagnostics(ContainerGroupDiagnostics diagnostics)
Set the diagnostics property: The diagnostic information for a container group.
|
ContainerGroupInner |
withDnsConfig(DnsConfiguration dnsConfig)
Set the dnsConfig property: The DNS config information for a container group.
|
ContainerGroupInner |
withEncryptionProperties(EncryptionProperties encryptionProperties)
Set the encryptionProperties property: The encryption properties for a container group.
|
ContainerGroupInner |
withIdentity(ContainerGroupIdentity identity)
Set the identity property: The identity of the container group, if configured.
|
ContainerGroupInner |
withImageRegistryCredentials(List<ImageRegistryCredential> imageRegistryCredentials)
Set the imageRegistryCredentials property: The image registry credentials by which the container group is created
from.
|
ContainerGroupInner |
withInitContainers(List<InitContainerDefinition> initContainers)
Set the initContainers property: The init containers for a container group.
|
ContainerGroupInner |
withIpAddress(IpAddress ipAddress)
Set the ipAddress property: The IP address type of the container group.
|
ContainerGroupInner |
withLocation(String location) |
ContainerGroupInner |
withNetworkProfile(ContainerGroupNetworkProfile networkProfile)
Set the networkProfile property: The network profile information for a container group.
|
ContainerGroupInner |
withOsType(OperatingSystemTypes osType)
Set the osType property: The operating system type required by the containers in the container group.
|
ContainerGroupInner |
withRestartPolicy(ContainerGroupRestartPolicy restartPolicy)
Set the restartPolicy property: Restart policy for all containers within the container group.
|
ContainerGroupInner |
withSku(ContainerGroupSku sku)
Set the sku property: The SKU for a container group.
|
ContainerGroupInner |
withTags(Map<String,String> tags) |
ContainerGroupInner |
withVolumes(List<Volume> volumes)
Set the volumes property: The list of volumes that can be mounted by containers in this container group.
|
public ContainerGroupIdentity identity()
public ContainerGroupInner withIdentity(ContainerGroupIdentity identity)
identity - the identity value to set.public String provisioningState()
public List<Container> containers()
public ContainerGroupInner withContainers(List<Container> containers)
containers - the containers value to set.public List<ImageRegistryCredential> imageRegistryCredentials()
public ContainerGroupInner withImageRegistryCredentials(List<ImageRegistryCredential> imageRegistryCredentials)
imageRegistryCredentials - the imageRegistryCredentials value to set.public ContainerGroupRestartPolicy restartPolicy()
public ContainerGroupInner withRestartPolicy(ContainerGroupRestartPolicy restartPolicy)
restartPolicy - the restartPolicy value to set.public IpAddress ipAddress()
public ContainerGroupInner withIpAddress(IpAddress ipAddress)
ipAddress - the ipAddress value to set.public OperatingSystemTypes osType()
public ContainerGroupInner withOsType(OperatingSystemTypes osType)
osType - the osType value to set.public List<Volume> volumes()
public ContainerGroupInner withVolumes(List<Volume> volumes)
volumes - the volumes value to set.public ContainerGroupPropertiesInstanceView instanceView()
public ContainerGroupDiagnostics diagnostics()
public ContainerGroupInner withDiagnostics(ContainerGroupDiagnostics diagnostics)
diagnostics - the diagnostics value to set.public ContainerGroupNetworkProfile networkProfile()
public ContainerGroupInner withNetworkProfile(ContainerGroupNetworkProfile networkProfile)
networkProfile - the networkProfile value to set.public DnsConfiguration dnsConfig()
public ContainerGroupInner withDnsConfig(DnsConfiguration dnsConfig)
dnsConfig - the dnsConfig value to set.public ContainerGroupSku sku()
public ContainerGroupInner withSku(ContainerGroupSku sku)
sku - the sku value to set.public EncryptionProperties encryptionProperties()
public ContainerGroupInner withEncryptionProperties(EncryptionProperties encryptionProperties)
encryptionProperties - the encryptionProperties value to set.public List<InitContainerDefinition> initContainers()
public ContainerGroupInner withInitContainers(List<InitContainerDefinition> initContainers)
initContainers - the initContainers value to set.public ContainerGroupInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic ContainerGroupInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.