你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AvailabilityGroupListener Class

Definition

A SQL Server availability group listener.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AvailabilityGroupListenerTypeConverter))]
public class AvailabilityGroupListener : Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAvailabilityGroupListener, Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AvailabilityGroupListenerTypeConverter))>]
type AvailabilityGroupListener = class
    interface IAvailabilityGroupListener
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class AvailabilityGroupListener
Implements IAvailabilityGroupListener, IValidates
Inheritance
AvailabilityGroupListener
Attributes
Implements

Constructors

AvailabilityGroupListener()

Creates an new AvailabilityGroupListener instance.

Properties

AvailabilityGroupConfigurationReplica

Replica configurations.

AvailabilityGroupName

Name of the availability group.

CreateDefaultAvailabilityGroupIfNotExist

Create a default availability group if it does not exist.

Id

Resource ID.

LoadBalancerConfiguration

List of load balancer configurations for an availability group listener.

MultiSubnetIPConfiguration

List of multi subnet IP configurations for an AG listener.

Name

Resource name.

Port

Listener port.

ProvisioningState

Provisioning state to track the async operation status.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AvailabilityGroupListener.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AvailabilityGroupListener.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AvailabilityGroupListener into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to