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 |
|
Container |
containerGroupProfile()
Get the container |
| 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. |
|
Identity |
identityAcls()
Get the identity |
|
List<Image |
imageRegistryCredentials()
Get the image |
|
List<Init |
initContainers()
Get the init |
|
Container |
instanceView()
Get the instance |
|
Ip |
ipAddress()
Get the ip |
| Boolean |
isCreatedFromStandbyPool()
Get the is |
| 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 |
|
List<Secret |
secretReferences()
Get the secret |
|
Container |
sku()
Get the sku property: The SKU for a container group. |
|
Standby |
standbyPoolProfile()
Get the standby |
|
List<Container |
subnetIds()
Get the subnet |
|
System |
systemData()
Get the system |
|
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 |
withContainerGroupProfile(ContainerGroupProfileReferenceDefinition containerGroupProfile)
Set the container |
|
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 |
withIdentityAcls(IdentityAcls identityAcls)
Set the identity |
|
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 |
withSecretReferences(List<SecretReference> secretReferences)
Set the secret |
|
Container |
withSku(ContainerGroupSku sku)
Set the sku property: The SKU for a container group. |
|
Container |
withStandbyPoolProfile(StandbyPoolProfileDefinition standbyPoolProfile)
Set the standby |
|
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 availability zones. |
| List<String> |
zones()
Get the zones property: The availability zones. |
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:
containerGroupProfile
public ContainerGroupProfileReferenceDefinition containerGroupProfile()
Get the containerGroupProfile property: The reference container group profile properties.
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:
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<DeploymentExtensionSpec> extensions()
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:
identityAcls
public IdentityAcls identityAcls()
Get the identityAcls property: The access control levels of the identities.
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:
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:
isCreatedFromStandbyPool
public Boolean isCreatedFromStandbyPool()
Get the isCreatedFromStandbyPool property: The flag to determine whether the container group is created from standby pool.
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:
secretReferences
public List<SecretReference> secretReferences()
Get the secretReferences property: The secret references that will be referenced within the container group.
Returns:
sku
public ContainerGroupSku sku()
Get the sku property: The SKU for a container group.
Returns:
standbyPoolProfile
public StandbyPoolProfileDefinition standbyPoolProfile()
Get the standbyPoolProfile property: The reference standby pool profile properties.
Returns:
subnetIds
public List<ContainerGroupSubnetId> subnetIds()
Get the subnetIds property: The subnet resource IDs for a container group.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
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<Volume> volumes()
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:
withContainerGroupProfile
public ContainerGroupInner withContainerGroupProfile(ContainerGroupProfileReferenceDefinition containerGroupProfile)
Set the containerGroupProfile property: The reference container group profile properties.
Parameters:
Returns:
withContainers
public ContainerGroupInner withContainers(List<Container> containers)
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<DeploymentExtensionSpec> extensions)
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:
withIdentityAcls
public ContainerGroupInner withIdentityAcls(IdentityAcls identityAcls)
Set the identityAcls property: The access control levels of the identities.
Parameters:
Returns:
withImageRegistryCredentials
public ContainerGroupInner withImageRegistryCredentials(List<ImageRegistryCredential> imageRegistryCredentials)
Set the imageRegistryCredentials property: The image registry credentials by which the container group is created from.
Parameters:
Returns:
withInitContainers
public ContainerGroupInner withInitContainers(List<InitContainerDefinition> initContainers)
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:
withSecretReferences
public ContainerGroupInner withSecretReferences(List<SecretReference> secretReferences)
Set the secretReferences property: The secret references that will be referenced within the container group.
Parameters:
Returns:
withSku
public ContainerGroupInner withSku(ContainerGroupSku sku)
Set the sku property: The SKU for a container group.
Parameters:
Returns:
withStandbyPoolProfile
public ContainerGroupInner withStandbyPoolProfile(StandbyPoolProfileDefinition standbyPoolProfile)
Set the standbyPoolProfile property: The reference standby pool profile properties.
Parameters:
Returns:
withSubnetIds
public ContainerGroupInner withSubnetIds(List<ContainerGroupSubnetId> subnetIds)
Set the subnetIds property: The subnet resource IDs for a container group.
Parameters:
Returns:
withTags
public ContainerGroupInner withTags(Map<String,String> tags)
Overrides:
ContainerGroupInner.withTags(Map<String,String> tags)Parameters:
withVolumes
public ContainerGroupInner 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 ContainerGroupInner 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: