Share via


CentralServerConfiguration Class

Definition

Gets or sets the central server configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.CentralServerConfigurationTypeConverter))]
public class CentralServerConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.ICentralServerConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.CentralServerConfigurationTypeConverter))>]
type CentralServerConfiguration = class
    interface ICentralServerConfiguration
    interface IJsonSerializable
Public Class CentralServerConfiguration
Implements ICentralServerConfiguration
Inheritance
CentralServerConfiguration
Attributes
Implements

Constructors

CentralServerConfiguration()

Creates an new CentralServerConfiguration instance.

Properties

ImageReferenceId

Specifies the ARM resource ID of the Azure Compute Gallery image version used for creating ACSS VMs. You will need to provide this input when you choose to deploy virtual machines in ACSS with OS image from the Azure Compute gallery.

ImageReferenceOffer

Specifies the offer of the platform image or marketplace image used to create the virtual machine.

ImageReferencePublisher

The image publisher.

ImageReferenceSku

The image SKU.

ImageReferenceVersion

Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.

InstanceCount

The number of central server VMs.

OSConfigurationOstype

The OS Type

OSProfileAdminPassword
OSProfileAdminUsername
SubnetId

The subnet id.

VirtualMachineConfigurationVMSize

The virtual machine size.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CentralServerConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CentralServerConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.ICentralServerConfiguration.

FromJsonString(String)

Creates a new instance of CentralServerConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CentralServerConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to