Share via


AgConfiguration Class

Definition

Availability group configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AgConfigurationTypeConverter))]
public class AgConfiguration : Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAgConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AgConfigurationTypeConverter))>]
type AgConfiguration = class
    interface IAgConfiguration
    interface IJsonSerializable
Public Class AgConfiguration
Implements IAgConfiguration
Inheritance
AgConfiguration
Attributes
Implements

Constructors

AgConfiguration()

Creates an new AgConfiguration instance.

Properties

Replica

Replica configurations.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAgConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to