Class ContainerInstanceConfig
Specifies ContainerInstance configuration.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class ContainerInstanceConfig : ContainerConfig
Properties
AvailabilityDomain
Declaration
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | Availability domain where the ContainerInstance will be created. |
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment where the ContainerInstance will be created. |
NetworkChannel
Declaration
[Required(ErrorMessage = "NetworkChannel is required.")]
[JsonProperty(PropertyName = "networkChannel")]
public NetworkChannel NetworkChannel { get; set; }
Property Value
Type | Description |
---|---|
NetworkChannel |
Remarks
Required
ShapeConfig
Declaration
[Required(ErrorMessage = "ShapeConfig is required.")]
[JsonProperty(PropertyName = "shapeConfig")]
public ShapeConfig ShapeConfig { get; set; }
Property Value
Type | Description |
---|---|
ShapeConfig |
Remarks
Required
ShapeName
Declaration
[Required(ErrorMessage = "ShapeName is required.")]
[JsonProperty(PropertyName = "shapeName")]
public string ShapeName { get; set; }
Property Value
Type | Description |
---|---|
string | The shape of the ContainerInstance. The shape determines the resources available to the ContainerInstance. |
Remarks
Required