ContainerConfiguration Constructors

Definition

Overloads

ContainerConfiguration()

Initializes a new instance of the ContainerConfiguration class.

ContainerConfiguration(String)

Initializes a new instance of the ContainerConfiguration class.

ContainerConfiguration()

Initializes a new instance of the ContainerConfiguration class.

public ContainerConfiguration ();
Public Sub New ()

Applies to

ContainerConfiguration(String)

Initializes a new instance of the ContainerConfiguration class.

public ContainerConfiguration (string containerGroupName = default);
new Microsoft.Azure.Management.ResourceManager.Models.ContainerConfiguration : string -> Microsoft.Azure.Management.ResourceManager.Models.ContainerConfiguration
Public Sub New (Optional containerGroupName As String = Nothing)

Parameters

containerGroupName
String

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.

Applies to