ScriptContainerConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Settings to customize ACI container instance.
public class ScriptContainerConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.ScriptContainerConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.ScriptContainerConfiguration>
type ScriptContainerConfiguration = class
interface IJsonModel<ScriptContainerConfiguration>
interface IPersistableModel<ScriptContainerConfiguration>
Public Class ScriptContainerConfiguration
Implements IJsonModel(Of ScriptContainerConfiguration), IPersistableModel(Of ScriptContainerConfiguration)
- Inheritance
-
ScriptContainerConfiguration
- Implements
Constructors
| ScriptContainerConfiguration() |
Initializes a new instance of ScriptContainerConfiguration. |
Properties
| ContainerGroupName |
Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { "containerSettings": { "containerGroupName": "contoso-container" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property. |
| SubnetIds |
The subnet resource IDs for a container group. |
Methods
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
| IJsonModel<ScriptContainerConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<ScriptContainerConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<ScriptContainerConfiguration>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<ScriptContainerConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<ScriptContainerConfiguration>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |