1. Packages
  2. Azure Native v2
  3. API Docs
  4. azurearcdata
  5. getSqlServerAvailabilityGroup
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.azurearcdata.getSqlServerAvailabilityGroup

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Retrieves an Arc Sql Server availability group. Azure REST API version: 2024-01-01.

Other available API versions: 2024-05-01-preview.

Using getSqlServerAvailabilityGroup

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSqlServerAvailabilityGroup(args: GetSqlServerAvailabilityGroupArgs, opts?: InvokeOptions): Promise<GetSqlServerAvailabilityGroupResult>
function getSqlServerAvailabilityGroupOutput(args: GetSqlServerAvailabilityGroupOutputArgs, opts?: InvokeOptions): Output<GetSqlServerAvailabilityGroupResult>
Copy
def get_sql_server_availability_group(availability_group_name: Optional[str] = None,
                                      resource_group_name: Optional[str] = None,
                                      sql_server_instance_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSqlServerAvailabilityGroupResult
def get_sql_server_availability_group_output(availability_group_name: Optional[pulumi.Input[str]] = None,
                                      resource_group_name: Optional[pulumi.Input[str]] = None,
                                      sql_server_instance_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSqlServerAvailabilityGroupResult]
Copy
func LookupSqlServerAvailabilityGroup(ctx *Context, args *LookupSqlServerAvailabilityGroupArgs, opts ...InvokeOption) (*LookupSqlServerAvailabilityGroupResult, error)
func LookupSqlServerAvailabilityGroupOutput(ctx *Context, args *LookupSqlServerAvailabilityGroupOutputArgs, opts ...InvokeOption) LookupSqlServerAvailabilityGroupResultOutput
Copy

> Note: This function is named LookupSqlServerAvailabilityGroup in the Go SDK.

public static class GetSqlServerAvailabilityGroup 
{
    public static Task<GetSqlServerAvailabilityGroupResult> InvokeAsync(GetSqlServerAvailabilityGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetSqlServerAvailabilityGroupResult> Invoke(GetSqlServerAvailabilityGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSqlServerAvailabilityGroupResult> getSqlServerAvailabilityGroup(GetSqlServerAvailabilityGroupArgs args, InvokeOptions options)
public static Output<GetSqlServerAvailabilityGroupResult> getSqlServerAvailabilityGroup(GetSqlServerAvailabilityGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:azurearcdata:getSqlServerAvailabilityGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AvailabilityGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Availability Group
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group
SqlServerInstanceName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Server Instance
AvailabilityGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Availability Group
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group
SqlServerInstanceName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Server Instance
availabilityGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of SQL Availability Group
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group
sqlServerInstanceName
This property is required.
Changes to this property will trigger replacement.
String
Name of SQL Server Instance
availabilityGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Availability Group
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group
sqlServerInstanceName
This property is required.
Changes to this property will trigger replacement.
string
Name of SQL Server Instance
availability_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of SQL Availability Group
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Azure resource group
sql_server_instance_name
This property is required.
Changes to this property will trigger replacement.
str
Name of SQL Server Instance
availabilityGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of SQL Availability Group
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group
sqlServerInstanceName
This property is required.
Changes to this property will trigger replacement.
String
Name of SQL Server Instance

getSqlServerAvailabilityGroup Result

The following output properties are available:

Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Location string
The geo-location where the resource lives
Name string
The name of the resource
Properties Pulumi.AzureNative.AzureArcData.Outputs.SqlServerAvailabilityGroupResourcePropertiesResponse
Properties of Arc Sql Server availability group
SystemData Pulumi.AzureNative.AzureArcData.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Tags Dictionary<string, string>
Resource tags.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Location string
The geo-location where the resource lives
Name string
The name of the resource
Properties SqlServerAvailabilityGroupResourcePropertiesResponse
Properties of Arc Sql Server availability group
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Tags map[string]string
Resource tags.
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location String
The geo-location where the resource lives
name String
The name of the resource
properties SqlServerAvailabilityGroupResourcePropertiesResponse
Properties of Arc Sql Server availability group
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
tags Map<String,String>
Resource tags.
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location string
The geo-location where the resource lives
name string
The name of the resource
properties SqlServerAvailabilityGroupResourcePropertiesResponse
Properties of Arc Sql Server availability group
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
tags {[key: string]: string}
Resource tags.
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location str
The geo-location where the resource lives
name str
The name of the resource
properties SqlServerAvailabilityGroupResourcePropertiesResponse
Properties of Arc Sql Server availability group
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
tags Mapping[str, str]
Resource tags.
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location String
The geo-location where the resource lives
name String
The name of the resource
properties Property Map
Properties of Arc Sql Server availability group
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
tags Map<String>
Resource tags.

Supporting Types

AvailabilityGroupConfigureResponse

AvailabilityModeDescription This property is required. string
The Availability Synchronization mode of the availability group replica.
FailoverModeDescription This property is required. string
The failover mode of the availability group replica.
PrimaryRoleAllowConnectionsDescription This property is required. string
Whether the availability allows all connections or only read-write connections.
ReplicaCreateDate This property is required. string
Date that the replica was created.
ReplicaModifyDate This property is required. string
Date that the replica was modified.
SecondaryRoleAllowConnectionsDescription This property is required. string
Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
SeedingModeDescription This property is required. string
Describes seeding mode.
BackupPriority int
Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
EndpointUrl string
Mirroring endpoint URL of availability group replica
ReadOnlyRoutingUrl string
Connectivity endpoint (URL) of the read only availability replica.
ReadWriteRoutingUrl string
Connectivity endpoint (URL) of the read write availability replica.
SessionTimeout int
The time-out period of availability group session replica, in seconds.
AvailabilityModeDescription This property is required. string
The Availability Synchronization mode of the availability group replica.
FailoverModeDescription This property is required. string
The failover mode of the availability group replica.
PrimaryRoleAllowConnectionsDescription This property is required. string
Whether the availability allows all connections or only read-write connections.
ReplicaCreateDate This property is required. string
Date that the replica was created.
ReplicaModifyDate This property is required. string
Date that the replica was modified.
SecondaryRoleAllowConnectionsDescription This property is required. string
Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
SeedingModeDescription This property is required. string
Describes seeding mode.
BackupPriority int
Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
EndpointUrl string
Mirroring endpoint URL of availability group replica
ReadOnlyRoutingUrl string
Connectivity endpoint (URL) of the read only availability replica.
ReadWriteRoutingUrl string
Connectivity endpoint (URL) of the read write availability replica.
SessionTimeout int
The time-out period of availability group session replica, in seconds.
availabilityModeDescription This property is required. String
The Availability Synchronization mode of the availability group replica.
failoverModeDescription This property is required. String
The failover mode of the availability group replica.
primaryRoleAllowConnectionsDescription This property is required. String
Whether the availability allows all connections or only read-write connections.
replicaCreateDate This property is required. String
Date that the replica was created.
replicaModifyDate This property is required. String
Date that the replica was modified.
secondaryRoleAllowConnectionsDescription This property is required. String
Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
seedingModeDescription This property is required. String
Describes seeding mode.
backupPriority Integer
Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
endpointUrl String
Mirroring endpoint URL of availability group replica
readOnlyRoutingUrl String
Connectivity endpoint (URL) of the read only availability replica.
readWriteRoutingUrl String
Connectivity endpoint (URL) of the read write availability replica.
sessionTimeout Integer
The time-out period of availability group session replica, in seconds.
availabilityModeDescription This property is required. string
The Availability Synchronization mode of the availability group replica.
failoverModeDescription This property is required. string
The failover mode of the availability group replica.
primaryRoleAllowConnectionsDescription This property is required. string
Whether the availability allows all connections or only read-write connections.
replicaCreateDate This property is required. string
Date that the replica was created.
replicaModifyDate This property is required. string
Date that the replica was modified.
secondaryRoleAllowConnectionsDescription This property is required. string
Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
seedingModeDescription This property is required. string
Describes seeding mode.
backupPriority number
Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
endpointUrl string
Mirroring endpoint URL of availability group replica
readOnlyRoutingUrl string
Connectivity endpoint (URL) of the read only availability replica.
readWriteRoutingUrl string
Connectivity endpoint (URL) of the read write availability replica.
sessionTimeout number
The time-out period of availability group session replica, in seconds.
availability_mode_description This property is required. str
The Availability Synchronization mode of the availability group replica.
failover_mode_description This property is required. str
The failover mode of the availability group replica.
primary_role_allow_connections_description This property is required. str
Whether the availability allows all connections or only read-write connections.
replica_create_date This property is required. str
Date that the replica was created.
replica_modify_date This property is required. str
Date that the replica was modified.
secondary_role_allow_connections_description This property is required. str
Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
seeding_mode_description This property is required. str
Describes seeding mode.
backup_priority int
Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
endpoint_url str
Mirroring endpoint URL of availability group replica
read_only_routing_url str
Connectivity endpoint (URL) of the read only availability replica.
read_write_routing_url str
Connectivity endpoint (URL) of the read write availability replica.
session_timeout int
The time-out period of availability group session replica, in seconds.
availabilityModeDescription This property is required. String
The Availability Synchronization mode of the availability group replica.
failoverModeDescription This property is required. String
The failover mode of the availability group replica.
primaryRoleAllowConnectionsDescription This property is required. String
Whether the availability allows all connections or only read-write connections.
replicaCreateDate This property is required. String
Date that the replica was created.
replicaModifyDate This property is required. String
Date that the replica was modified.
secondaryRoleAllowConnectionsDescription This property is required. String
Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
seedingModeDescription This property is required. String
Describes seeding mode.
backupPriority Number
Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
endpointUrl String
Mirroring endpoint URL of availability group replica
readOnlyRoutingUrl String
Connectivity endpoint (URL) of the read only availability replica.
readWriteRoutingUrl String
Connectivity endpoint (URL) of the read write availability replica.
sessionTimeout Number
The time-out period of availability group session replica, in seconds.

AvailabilityGroupInfoResponse

AutomatedBackupPreferenceDescription This property is required. string
Preferred location for performing backups on the availability databases in this availability group.
ClusterTypeDescription This property is required. string
SQL Server availability group cluster type description
PrimaryRecoveryHealthDescription This property is required. string
Indicates the recovery health of the primary replica.
PrimaryReplica This property is required. string
Name of the server instance that is hosting the current primary replica.
ReplicationPartnerType This property is required. string
SecondaryRecoveryHealthDescription This property is required. string
Indicates the recovery health of a secondary replica.
SynchronizationHealthDescription This property is required. string
Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
Version This property is required. int
SQL Server availability group current version.
BasicFeatures bool
Specifies whether this is a basic availability group.
DbFailover bool
Specifies whether the availability group supports failover for database health conditions.
DtcSupport bool
Specifies whether DTC support has been enabled for this availability group.
FailureConditionLevel int
User-defined failure condition level under which an automatic failover must be triggered.
HealthCheckTimeout int
Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
IsContained bool
SQL Server availability group contained system databases.
IsDistributed bool
Specifies whether this is a distributed availability group.
RequiredSynchronizedSecondariesToCommit int
The number of secondary replicas that must be in a synchronized state for a commit to complete.
AutomatedBackupPreferenceDescription This property is required. string
Preferred location for performing backups on the availability databases in this availability group.
ClusterTypeDescription This property is required. string
SQL Server availability group cluster type description
PrimaryRecoveryHealthDescription This property is required. string
Indicates the recovery health of the primary replica.
PrimaryReplica This property is required. string
Name of the server instance that is hosting the current primary replica.
ReplicationPartnerType This property is required. string
SecondaryRecoveryHealthDescription This property is required. string
Indicates the recovery health of a secondary replica.
SynchronizationHealthDescription This property is required. string
Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
Version This property is required. int
SQL Server availability group current version.
BasicFeatures bool
Specifies whether this is a basic availability group.
DbFailover bool
Specifies whether the availability group supports failover for database health conditions.
DtcSupport bool
Specifies whether DTC support has been enabled for this availability group.
FailureConditionLevel int
User-defined failure condition level under which an automatic failover must be triggered.
HealthCheckTimeout int
Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
IsContained bool
SQL Server availability group contained system databases.
IsDistributed bool
Specifies whether this is a distributed availability group.
RequiredSynchronizedSecondariesToCommit int
The number of secondary replicas that must be in a synchronized state for a commit to complete.
automatedBackupPreferenceDescription This property is required. String
Preferred location for performing backups on the availability databases in this availability group.
clusterTypeDescription This property is required. String
SQL Server availability group cluster type description
primaryRecoveryHealthDescription This property is required. String
Indicates the recovery health of the primary replica.
primaryReplica This property is required. String
Name of the server instance that is hosting the current primary replica.
replicationPartnerType This property is required. String
secondaryRecoveryHealthDescription This property is required. String
Indicates the recovery health of a secondary replica.
synchronizationHealthDescription This property is required. String
Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
version This property is required. Integer
SQL Server availability group current version.
basicFeatures Boolean
Specifies whether this is a basic availability group.
dbFailover Boolean
Specifies whether the availability group supports failover for database health conditions.
dtcSupport Boolean
Specifies whether DTC support has been enabled for this availability group.
failureConditionLevel Integer
User-defined failure condition level under which an automatic failover must be triggered.
healthCheckTimeout Integer
Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
isContained Boolean
SQL Server availability group contained system databases.
isDistributed Boolean
Specifies whether this is a distributed availability group.
requiredSynchronizedSecondariesToCommit Integer
The number of secondary replicas that must be in a synchronized state for a commit to complete.
automatedBackupPreferenceDescription This property is required. string
Preferred location for performing backups on the availability databases in this availability group.
clusterTypeDescription This property is required. string
SQL Server availability group cluster type description
primaryRecoveryHealthDescription This property is required. string
Indicates the recovery health of the primary replica.
primaryReplica This property is required. string
Name of the server instance that is hosting the current primary replica.
replicationPartnerType This property is required. string
secondaryRecoveryHealthDescription This property is required. string
Indicates the recovery health of a secondary replica.
synchronizationHealthDescription This property is required. string
Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
version This property is required. number
SQL Server availability group current version.
basicFeatures boolean
Specifies whether this is a basic availability group.
dbFailover boolean
Specifies whether the availability group supports failover for database health conditions.
dtcSupport boolean
Specifies whether DTC support has been enabled for this availability group.
failureConditionLevel number
User-defined failure condition level under which an automatic failover must be triggered.
healthCheckTimeout number
Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
isContained boolean
SQL Server availability group contained system databases.
isDistributed boolean
Specifies whether this is a distributed availability group.
requiredSynchronizedSecondariesToCommit number
The number of secondary replicas that must be in a synchronized state for a commit to complete.
automated_backup_preference_description This property is required. str
Preferred location for performing backups on the availability databases in this availability group.
cluster_type_description This property is required. str
SQL Server availability group cluster type description
primary_recovery_health_description This property is required. str
Indicates the recovery health of the primary replica.
primary_replica This property is required. str
Name of the server instance that is hosting the current primary replica.
replication_partner_type This property is required. str
secondary_recovery_health_description This property is required. str
Indicates the recovery health of a secondary replica.
synchronization_health_description This property is required. str
Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
version This property is required. int
SQL Server availability group current version.
basic_features bool
Specifies whether this is a basic availability group.
db_failover bool
Specifies whether the availability group supports failover for database health conditions.
dtc_support bool
Specifies whether DTC support has been enabled for this availability group.
failure_condition_level int
User-defined failure condition level under which an automatic failover must be triggered.
health_check_timeout int
Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
is_contained bool
SQL Server availability group contained system databases.
is_distributed bool
Specifies whether this is a distributed availability group.
required_synchronized_secondaries_to_commit int
The number of secondary replicas that must be in a synchronized state for a commit to complete.
automatedBackupPreferenceDescription This property is required. String
Preferred location for performing backups on the availability databases in this availability group.
clusterTypeDescription This property is required. String
SQL Server availability group cluster type description
primaryRecoveryHealthDescription This property is required. String
Indicates the recovery health of the primary replica.
primaryReplica This property is required. String
Name of the server instance that is hosting the current primary replica.
replicationPartnerType This property is required. String
secondaryRecoveryHealthDescription This property is required. String
Indicates the recovery health of a secondary replica.
synchronizationHealthDescription This property is required. String
Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
version This property is required. Number
SQL Server availability group current version.
basicFeatures Boolean
Specifies whether this is a basic availability group.
dbFailover Boolean
Specifies whether the availability group supports failover for database health conditions.
dtcSupport Boolean
Specifies whether DTC support has been enabled for this availability group.
failureConditionLevel Number
User-defined failure condition level under which an automatic failover must be triggered.
healthCheckTimeout Number
Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
isContained Boolean
SQL Server availability group contained system databases.
isDistributed Boolean
Specifies whether this is a distributed availability group.
requiredSynchronizedSecondariesToCommit Number
The number of secondary replicas that must be in a synchronized state for a commit to complete.

AvailabilityGroupStateResponse

AvailabilityGroupReplicaRole This property is required. string
Current Always On availability groups role of the availability group replica.
ConnectedStateDescription This property is required. string
Whether a secondary replica is currently connected to the primary replica.
LastConnectErrorDescription This property is required. string
Text description of the last connection error of the availability group replica.
LastConnectErrorTimestamp This property is required. string
Date and time timestamp indicating when the last connect error occurred.
OperationalStateDescription This property is required. string
Current operational state of the availability group replica
RecoveryHealthDescription This property is required. string
Recovery health of the availability group replica.
SynchronizationHealthDescription This property is required. string
Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
AvailabilityGroupReplicaRole This property is required. string
Current Always On availability groups role of the availability group replica.
ConnectedStateDescription This property is required. string
Whether a secondary replica is currently connected to the primary replica.
LastConnectErrorDescription This property is required. string
Text description of the last connection error of the availability group replica.
LastConnectErrorTimestamp This property is required. string
Date and time timestamp indicating when the last connect error occurred.
OperationalStateDescription This property is required. string
Current operational state of the availability group replica
RecoveryHealthDescription This property is required. string
Recovery health of the availability group replica.
SynchronizationHealthDescription This property is required. string
Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
availabilityGroupReplicaRole This property is required. String
Current Always On availability groups role of the availability group replica.
connectedStateDescription This property is required. String
Whether a secondary replica is currently connected to the primary replica.
lastConnectErrorDescription This property is required. String
Text description of the last connection error of the availability group replica.
lastConnectErrorTimestamp This property is required. String
Date and time timestamp indicating when the last connect error occurred.
operationalStateDescription This property is required. String
Current operational state of the availability group replica
recoveryHealthDescription This property is required. String
Recovery health of the availability group replica.
synchronizationHealthDescription This property is required. String
Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
availabilityGroupReplicaRole This property is required. string
Current Always On availability groups role of the availability group replica.
connectedStateDescription This property is required. string
Whether a secondary replica is currently connected to the primary replica.
lastConnectErrorDescription This property is required. string
Text description of the last connection error of the availability group replica.
lastConnectErrorTimestamp This property is required. string
Date and time timestamp indicating when the last connect error occurred.
operationalStateDescription This property is required. string
Current operational state of the availability group replica
recoveryHealthDescription This property is required. string
Recovery health of the availability group replica.
synchronizationHealthDescription This property is required. string
Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
availability_group_replica_role This property is required. str
Current Always On availability groups role of the availability group replica.
connected_state_description This property is required. str
Whether a secondary replica is currently connected to the primary replica.
last_connect_error_description This property is required. str
Text description of the last connection error of the availability group replica.
last_connect_error_timestamp This property is required. str
Date and time timestamp indicating when the last connect error occurred.
operational_state_description This property is required. str
Current operational state of the availability group replica
recovery_health_description This property is required. str
Recovery health of the availability group replica.
synchronization_health_description This property is required. str
Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
availabilityGroupReplicaRole This property is required. String
Current Always On availability groups role of the availability group replica.
connectedStateDescription This property is required. String
Whether a secondary replica is currently connected to the primary replica.
lastConnectErrorDescription This property is required. String
Text description of the last connection error of the availability group replica.
lastConnectErrorTimestamp This property is required. String
Date and time timestamp indicating when the last connect error occurred.
operationalStateDescription This property is required. String
Current operational state of the availability group replica
recoveryHealthDescription This property is required. String
Recovery health of the availability group replica.
synchronizationHealthDescription This property is required. String
Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.

SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse

DatabaseStateDescription This property is required. string
Description of the database state of the availability replica.
IsCommitParticipant This property is required. bool
Whether this replica is transaction committer.
IsLocal This property is required. bool
Whether the availability database is local.
IsPrimaryReplica This property is required. bool
Returns 1 if the replica is primary, or 0 if it is a secondary replica.
IsSuspended This property is required. bool
Whether this data movement is suspended.
ReplicaName This property is required. string
the database replica name.
SuspendReasonDescription This property is required. string
Description of the database suspended state reason.
SynchronizationHealthDescription This property is required. string
Description of the health of database.
SynchronizationStateDescription This property is required. string
Description of the data-movement state.
DatabaseName string
the database name.
DatabaseStateDescription This property is required. string
Description of the database state of the availability replica.
IsCommitParticipant This property is required. bool
Whether this replica is transaction committer.
IsLocal This property is required. bool
Whether the availability database is local.
IsPrimaryReplica This property is required. bool
Returns 1 if the replica is primary, or 0 if it is a secondary replica.
IsSuspended This property is required. bool
Whether this data movement is suspended.
ReplicaName This property is required. string
the database replica name.
SuspendReasonDescription This property is required. string
Description of the database suspended state reason.
SynchronizationHealthDescription This property is required. string
Description of the health of database.
SynchronizationStateDescription This property is required. string
Description of the data-movement state.
DatabaseName string
the database name.
databaseStateDescription This property is required. String
Description of the database state of the availability replica.
isCommitParticipant This property is required. Boolean
Whether this replica is transaction committer.
isLocal This property is required. Boolean
Whether the availability database is local.
isPrimaryReplica This property is required. Boolean
Returns 1 if the replica is primary, or 0 if it is a secondary replica.
isSuspended This property is required. Boolean
Whether this data movement is suspended.
replicaName This property is required. String
the database replica name.
suspendReasonDescription This property is required. String
Description of the database suspended state reason.
synchronizationHealthDescription This property is required. String
Description of the health of database.
synchronizationStateDescription This property is required. String
Description of the data-movement state.
databaseName String
the database name.
databaseStateDescription This property is required. string
Description of the database state of the availability replica.
isCommitParticipant This property is required. boolean
Whether this replica is transaction committer.
isLocal This property is required. boolean
Whether the availability database is local.
isPrimaryReplica This property is required. boolean
Returns 1 if the replica is primary, or 0 if it is a secondary replica.
isSuspended This property is required. boolean
Whether this data movement is suspended.
replicaName This property is required. string
the database replica name.
suspendReasonDescription This property is required. string
Description of the database suspended state reason.
synchronizationHealthDescription This property is required. string
Description of the health of database.
synchronizationStateDescription This property is required. string
Description of the data-movement state.
databaseName string
the database name.
database_state_description This property is required. str
Description of the database state of the availability replica.
is_commit_participant This property is required. bool
Whether this replica is transaction committer.
is_local This property is required. bool
Whether the availability database is local.
is_primary_replica This property is required. bool
Returns 1 if the replica is primary, or 0 if it is a secondary replica.
is_suspended This property is required. bool
Whether this data movement is suspended.
replica_name This property is required. str
the database replica name.
suspend_reason_description This property is required. str
Description of the database suspended state reason.
synchronization_health_description This property is required. str
Description of the health of database.
synchronization_state_description This property is required. str
Description of the data-movement state.
database_name str
the database name.
databaseStateDescription This property is required. String
Description of the database state of the availability replica.
isCommitParticipant This property is required. Boolean
Whether this replica is transaction committer.
isLocal This property is required. Boolean
Whether the availability database is local.
isPrimaryReplica This property is required. Boolean
Returns 1 if the replica is primary, or 0 if it is a secondary replica.
isSuspended This property is required. Boolean
Whether this data movement is suspended.
replicaName This property is required. String
the database replica name.
suspendReasonDescription This property is required. String
Description of the database suspended state reason.
synchronizationHealthDescription This property is required. String
Description of the health of database.
synchronizationStateDescription This property is required. String
Description of the data-movement state.
databaseName String
the database name.

SqlAvailabilityGroupReplicaResourcePropertiesResponse

ReplicaId This property is required. string
ID GUID of the availability group.
Configure AvailabilityGroupConfigureResponse
null
ReplicaName string
the replica name.
State AvailabilityGroupStateResponse
null
replicaId This property is required. String
ID GUID of the availability group.
configure AvailabilityGroupConfigureResponse
null
replicaName String
the replica name.
state AvailabilityGroupStateResponse
null
replicaId This property is required. string
ID GUID of the availability group.
configure AvailabilityGroupConfigureResponse
null
replicaName string
the replica name.
state AvailabilityGroupStateResponse
null
replica_id This property is required. str
ID GUID of the availability group.
configure AvailabilityGroupConfigureResponse
null
replica_name str
the replica name.
state AvailabilityGroupStateResponse
null
replicaId This property is required. String
ID GUID of the availability group.
configure Property Map
null
replicaName String
the replica name.
state Property Map
null

SqlServerAvailabilityGroupResourcePropertiesResponse

AvailabilityGroupId This property is required. string
ID GUID of the availability group.
CollectionTimestamp This property is required. string
Timestamp for when the data was collected from the client machine.
InstanceName This property is required. string
the SQL Server Instance name.
ProvisioningState This property is required. string
The provisioning state of the Arc-enabled SQL Server availability group resource.
ServerName This property is required. string
the SQL server name.
Databases Pulumi.AzureNative.AzureArcData.Inputs.SqlServerAvailabilityGroupResourcePropertiesResponseDatabases
A list of Availability Group Database Replicas.
Info Pulumi.AzureNative.AzureArcData.Inputs.AvailabilityGroupInfoResponse
Availability Group Info
Replicas Pulumi.AzureNative.AzureArcData.Inputs.SqlServerAvailabilityGroupResourcePropertiesResponseReplicas
A list of Availability Group Replicas.
AvailabilityGroupId This property is required. string
ID GUID of the availability group.
CollectionTimestamp This property is required. string
Timestamp for when the data was collected from the client machine.
InstanceName This property is required. string
the SQL Server Instance name.
ProvisioningState This property is required. string
The provisioning state of the Arc-enabled SQL Server availability group resource.
ServerName This property is required. string
the SQL server name.
Databases SqlServerAvailabilityGroupResourcePropertiesResponseDatabases
A list of Availability Group Database Replicas.
Info AvailabilityGroupInfoResponse
Availability Group Info
Replicas SqlServerAvailabilityGroupResourcePropertiesResponseReplicas
A list of Availability Group Replicas.
availabilityGroupId This property is required. String
ID GUID of the availability group.
collectionTimestamp This property is required. String
Timestamp for when the data was collected from the client machine.
instanceName This property is required. String
the SQL Server Instance name.
provisioningState This property is required. String
The provisioning state of the Arc-enabled SQL Server availability group resource.
serverName This property is required. String
the SQL server name.
databases SqlServerAvailabilityGroupResourcePropertiesResponseDatabases
A list of Availability Group Database Replicas.
info AvailabilityGroupInfoResponse
Availability Group Info
replicas SqlServerAvailabilityGroupResourcePropertiesResponseReplicas
A list of Availability Group Replicas.
availabilityGroupId This property is required. string
ID GUID of the availability group.
collectionTimestamp This property is required. string
Timestamp for when the data was collected from the client machine.
instanceName This property is required. string
the SQL Server Instance name.
provisioningState This property is required. string
The provisioning state of the Arc-enabled SQL Server availability group resource.
serverName This property is required. string
the SQL server name.
databases SqlServerAvailabilityGroupResourcePropertiesResponseDatabases
A list of Availability Group Database Replicas.
info AvailabilityGroupInfoResponse
Availability Group Info
replicas SqlServerAvailabilityGroupResourcePropertiesResponseReplicas
A list of Availability Group Replicas.
availability_group_id This property is required. str
ID GUID of the availability group.
collection_timestamp This property is required. str
Timestamp for when the data was collected from the client machine.
instance_name This property is required. str
the SQL Server Instance name.
provisioning_state This property is required. str
The provisioning state of the Arc-enabled SQL Server availability group resource.
server_name This property is required. str
the SQL server name.
databases SqlServerAvailabilityGroupResourcePropertiesResponseDatabases
A list of Availability Group Database Replicas.
info AvailabilityGroupInfoResponse
Availability Group Info
replicas SqlServerAvailabilityGroupResourcePropertiesResponseReplicas
A list of Availability Group Replicas.
availabilityGroupId This property is required. String
ID GUID of the availability group.
collectionTimestamp This property is required. String
Timestamp for when the data was collected from the client machine.
instanceName This property is required. String
the SQL Server Instance name.
provisioningState This property is required. String
The provisioning state of the Arc-enabled SQL Server availability group resource.
serverName This property is required. String
the SQL server name.
databases Property Map
A list of Availability Group Database Replicas.
info Property Map
Availability Group Info
replicas Property Map
A list of Availability Group Replicas.

SqlServerAvailabilityGroupResourcePropertiesResponseDatabases

NextLink This property is required. string
Link to retrieve next page of results.
Value List<Pulumi.AzureNative.AzureArcData.Inputs.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse>
Array of Availability Group Database Replicas.
NextLink This property is required. string
Link to retrieve next page of results.
Value []SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse
Array of Availability Group Database Replicas.
nextLink This property is required. String
Link to retrieve next page of results.
value List<SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse>
Array of Availability Group Database Replicas.
nextLink This property is required. string
Link to retrieve next page of results.
value SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse[]
Array of Availability Group Database Replicas.
next_link This property is required. str
Link to retrieve next page of results.
value Sequence[SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse]
Array of Availability Group Database Replicas.
nextLink This property is required. String
Link to retrieve next page of results.
value List<Property Map>
Array of Availability Group Database Replicas.

SqlServerAvailabilityGroupResourcePropertiesResponseReplicas

NextLink This property is required. string
Link to retrieve next page of results.
Value List<Pulumi.AzureNative.AzureArcData.Inputs.SqlAvailabilityGroupReplicaResourcePropertiesResponse>
Array of Availability Group Replicas.
NextLink This property is required. string
Link to retrieve next page of results.
Value []SqlAvailabilityGroupReplicaResourcePropertiesResponse
Array of Availability Group Replicas.
nextLink This property is required. String
Link to retrieve next page of results.
value List<SqlAvailabilityGroupReplicaResourcePropertiesResponse>
Array of Availability Group Replicas.
nextLink This property is required. string
Link to retrieve next page of results.
value SqlAvailabilityGroupReplicaResourcePropertiesResponse[]
Array of Availability Group Replicas.
next_link This property is required. str
Link to retrieve next page of results.
value Sequence[SqlAvailabilityGroupReplicaResourcePropertiesResponse]
Array of Availability Group Replicas.
nextLink This property is required. String
Link to retrieve next page of results.
value List<Property Map>
Array of Availability Group Replicas.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi