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>
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]
func LookupSqlServerAvailabilityGroup(ctx *Context, args *LookupSqlServerAvailabilityGroupArgs, opts ...InvokeOption) (*LookupSqlServerAvailabilityGroupResult, error)
func LookupSqlServerAvailabilityGroupOutput(ctx *Context, args *LookupSqlServerAvailabilityGroupOutputArgs, opts ...InvokeOption) LookupSqlServerAvailabilityGroupResultOutput
> 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)
}
public static CompletableFuture<GetSqlServerAvailabilityGroupResult> getSqlServerAvailabilityGroup(GetSqlServerAvailabilityGroupArgs args, InvokeOptions options)
public static Output<GetSqlServerAvailabilityGroupResult> getSqlServerAvailabilityGroup(GetSqlServerAvailabilityGroupArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:azurearcdata:getSqlServerAvailabilityGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Group Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Availability Group
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Azure resource group
- Sql
Server Instance Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Server Instance
- Availability
Group Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Availability Group
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Azure resource group
- Sql
Server Instance Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Server Instance
- availability
Group Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Availability Group
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Azure resource group
- sql
Server Instance Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Server Instance
- availability
Group Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Availability Group
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Azure resource group
- sql
Server Instance Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Server Instance
- availability_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of SQL Availability Group
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the Azure resource group
- sql_
server_ instance_ name This property is required. Changes to this property will trigger replacement.
- Name of SQL Server Instance
- availability
Group Name This property is required. Changes to this property will trigger replacement.
- Name of SQL Availability Group
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Azure resource group
- sql
Server Instance Name This property is required. Changes to this property will trigger replacement.
- 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.
Azure Native. Azure Arc Data. Outputs. Sql Server Availability Group Resource Properties Response - Properties of Arc Sql Server availability group
- System
Data Pulumi.Azure Native. Azure Arc Data. Outputs. System Data Response - 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"
- 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
Sql
Server Availability Group Resource Properties Response - Properties of Arc Sql Server availability group
- System
Data SystemData Response - 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"
- 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
Sql
Server Availability Group Resource Properties Response - Properties of Arc Sql Server availability group
- system
Data SystemData Response - 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"
- 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
Sql
Server Availability Group Resource Properties Response - Properties of Arc Sql Server availability group
- system
Data SystemData Response - 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"
- {[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
Sql
Server Availability Group Resource Properties Response - Properties of Arc Sql Server availability group
- system_
data SystemData Response - 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"
- 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
- system
Data 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"
- Map<String>
- Resource tags.
Supporting Types
AvailabilityGroupConfigureResponse
- Availability
Mode Description This property is required. string - The Availability Synchronization mode of the availability group replica.
- Failover
Mode Description This property is required. string - The failover mode of the availability group replica.
- Primary
Role Allow Connections Description This property is required. string - Whether the availability allows all connections or only read-write connections.
- Replica
Create Date This property is required. string - Date that the replica was created.
- Replica
Modify Date This property is required. string - Date that the replica was modified.
- Secondary
Role Allow Connections Description 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.
- Seeding
Mode Description This property is required. string - 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 string - Mirroring endpoint URL of availability group replica
- Read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- Read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- Session
Timeout int - The time-out period of availability group session replica, in seconds.
- Availability
Mode Description This property is required. string - The Availability Synchronization mode of the availability group replica.
- Failover
Mode Description This property is required. string - The failover mode of the availability group replica.
- Primary
Role Allow Connections Description This property is required. string - Whether the availability allows all connections or only read-write connections.
- Replica
Create Date This property is required. string - Date that the replica was created.
- Replica
Modify Date This property is required. string - Date that the replica was modified.
- Secondary
Role Allow Connections Description 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.
- Seeding
Mode Description This property is required. string - 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 string - Mirroring endpoint URL of availability group replica
- Read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- Read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- Session
Timeout int - The time-out period of availability group session replica, in seconds.
- availability
Mode Description This property is required. String - The Availability Synchronization mode of the availability group replica.
- failover
Mode Description This property is required. String - The failover mode of the availability group replica.
- primary
Role Allow Connections Description This property is required. String - Whether the availability allows all connections or only read-write connections.
- replica
Create Date This property is required. String - Date that the replica was created.
- replica
Modify Date This property is required. String - Date that the replica was modified.
- secondary
Role Allow Connections Description 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.
- seeding
Mode Description This property is required. String - Describes seeding mode.
- backup
Priority Integer - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url String - Mirroring endpoint URL of availability group replica
- read
Only StringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write StringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout Integer - The time-out period of availability group session replica, in seconds.
- availability
Mode Description This property is required. string - The Availability Synchronization mode of the availability group replica.
- failover
Mode Description This property is required. string - The failover mode of the availability group replica.
- primary
Role Allow Connections Description This property is required. string - Whether the availability allows all connections or only read-write connections.
- replica
Create Date This property is required. string - Date that the replica was created.
- replica
Modify Date This property is required. string - Date that the replica was modified.
- secondary
Role Allow Connections Description 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.
- seeding
Mode Description This property is required. string - Describes seeding mode.
- backup
Priority number - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url string - Mirroring endpoint URL of availability group replica
- read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout 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_ strrouting_ url - Connectivity endpoint (URL) of the read only availability replica.
- read_
write_ strrouting_ url - Connectivity endpoint (URL) of the read write availability replica.
- session_
timeout int - The time-out period of availability group session replica, in seconds.
- availability
Mode Description This property is required. String - The Availability Synchronization mode of the availability group replica.
- failover
Mode Description This property is required. String - The failover mode of the availability group replica.
- primary
Role Allow Connections Description This property is required. String - Whether the availability allows all connections or only read-write connections.
- replica
Create Date This property is required. String - Date that the replica was created.
- replica
Modify Date This property is required. String - Date that the replica was modified.
- secondary
Role Allow Connections Description 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.
- seeding
Mode Description This property is required. String - Describes seeding mode.
- backup
Priority Number - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url String - Mirroring endpoint URL of availability group replica
- read
Only StringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write StringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout Number - The time-out period of availability group session replica, in seconds.
AvailabilityGroupInfoResponse
- Automated
Backup Preference Description This property is required. string - Preferred location for performing backups on the availability databases in this availability group.
- Cluster
Type Description This property is required. string - SQL Server availability group cluster type description
- Primary
Recovery Health Description This property is required. string - Indicates the recovery health of the primary replica.
- Primary
Replica This property is required. string - Name of the server instance that is hosting the current primary replica.
- Replication
Partner Type This property is required. string - Secondary
Recovery Health Description This property is required. string - Indicates the recovery health of a secondary replica.
- Synchronization
Health Description 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.
- 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 intLevel - User-defined failure condition level under which an automatic failover must be triggered.
- Health
Check intTimeout - 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 intSecondaries To Commit - 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. string - Preferred location for performing backups on the availability databases in this availability group.
- Cluster
Type Description This property is required. string - SQL Server availability group cluster type description
- Primary
Recovery Health Description This property is required. string - Indicates the recovery health of the primary replica.
- Primary
Replica This property is required. string - Name of the server instance that is hosting the current primary replica.
- Replication
Partner Type This property is required. string - Secondary
Recovery Health Description This property is required. string - Indicates the recovery health of a secondary replica.
- Synchronization
Health Description 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.
- 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 intLevel - User-defined failure condition level under which an automatic failover must be triggered.
- Health
Check intTimeout - 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 intSecondaries To Commit - 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. String - Preferred location for performing backups on the availability databases in this availability group.
- cluster
Type Description This property is required. String - SQL Server availability group cluster type description
- primary
Recovery Health Description This property is required. String - Indicates the recovery health of the primary replica.
- primary
Replica This property is required. String - Name of the server instance that is hosting the current primary replica.
- replication
Partner Type This property is required. String - secondary
Recovery Health Description This property is required. String - Indicates the recovery health of a secondary replica.
- synchronization
Health Description 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.
- basic
Features Boolean - Specifies whether this is a basic availability group.
- db
Failover Boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support Boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition IntegerLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check IntegerTimeout - 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 Boolean - SQL Server availability group contained system databases.
- is
Distributed Boolean - Specifies whether this is a distributed availability group.
- required
Synchronized IntegerSecondaries To Commit - 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. string - Preferred location for performing backups on the availability databases in this availability group.
- cluster
Type Description This property is required. string - SQL Server availability group cluster type description
- primary
Recovery Health Description This property is required. string - Indicates the recovery health of the primary replica.
- primary
Replica This property is required. string - Name of the server instance that is hosting the current primary replica.
- replication
Partner Type This property is required. string - secondary
Recovery Health Description This property is required. string - Indicates the recovery health of a secondary replica.
- synchronization
Health Description 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.
- basic
Features boolean - Specifies whether this is a basic availability group.
- db
Failover boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition numberLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check numberTimeout - 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 boolean - SQL Server availability group contained system databases.
- is
Distributed boolean - Specifies whether this is a distributed availability group.
- required
Synchronized numberSecondaries To Commit - 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_ intlevel - User-defined failure condition level under which an automatic failover must be triggered.
- health_
check_ inttimeout - 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_ intsecondaries_ to_ commit - 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. String - Preferred location for performing backups on the availability databases in this availability group.
- cluster
Type Description This property is required. String - SQL Server availability group cluster type description
- primary
Recovery Health Description This property is required. String - Indicates the recovery health of the primary replica.
- primary
Replica This property is required. String - Name of the server instance that is hosting the current primary replica.
- replication
Partner Type This property is required. String - secondary
Recovery Health Description This property is required. String - Indicates the recovery health of a secondary replica.
- synchronization
Health Description 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.
- basic
Features Boolean - Specifies whether this is a basic availability group.
- db
Failover Boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support Boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition NumberLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check NumberTimeout - 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 Boolean - SQL Server availability group contained system databases.
- is
Distributed Boolean - Specifies whether this is a distributed availability group.
- required
Synchronized NumberSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
AvailabilityGroupStateResponse
- Availability
Group Replica Role This property is required. string - Current Always On availability groups role of the availability group replica.
- Connected
State Description This property is required. string - Whether a secondary replica is currently connected to the primary replica.
- Last
Connect Error Description This property is required. string - Text description of the last connection error of the availability group replica.
- Last
Connect Error Timestamp This property is required. string - Date and time timestamp indicating when the last connect error occurred.
- Operational
State Description This property is required. string - Current operational state of the availability group replica
- Recovery
Health Description This property is required. string - Recovery health of the availability group replica.
- Synchronization
Health Description 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. string - Current Always On availability groups role of the availability group replica.
- Connected
State Description This property is required. string - Whether a secondary replica is currently connected to the primary replica.
- Last
Connect Error Description This property is required. string - Text description of the last connection error of the availability group replica.
- Last
Connect Error Timestamp This property is required. string - Date and time timestamp indicating when the last connect error occurred.
- Operational
State Description This property is required. string - Current operational state of the availability group replica
- Recovery
Health Description This property is required. string - Recovery health of the availability group replica.
- Synchronization
Health Description 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. String - Current Always On availability groups role of the availability group replica.
- connected
State Description This property is required. String - Whether a secondary replica is currently connected to the primary replica.
- last
Connect Error Description This property is required. String - Text description of the last connection error of the availability group replica.
- last
Connect Error Timestamp This property is required. String - Date and time timestamp indicating when the last connect error occurred.
- operational
State Description This property is required. String - Current operational state of the availability group replica
- recovery
Health Description This property is required. String - Recovery health of the availability group replica.
- synchronization
Health Description 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. string - Current Always On availability groups role of the availability group replica.
- connected
State Description This property is required. string - Whether a secondary replica is currently connected to the primary replica.
- last
Connect Error Description This property is required. string - Text description of the last connection error of the availability group replica.
- last
Connect Error Timestamp This property is required. string - Date and time timestamp indicating when the last connect error occurred.
- operational
State Description This property is required. string - Current operational state of the availability group replica
- recovery
Health Description This property is required. string - Recovery health of the availability group replica.
- synchronization
Health Description 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.
- availability
Group Replica Role This property is required. String - Current Always On availability groups role of the availability group replica.
- connected
State Description This property is required. String - Whether a secondary replica is currently connected to the primary replica.
- last
Connect Error Description This property is required. String - Text description of the last connection error of the availability group replica.
- last
Connect Error Timestamp This property is required. String - Date and time timestamp indicating when the last connect error occurred.
- operational
State Description This property is required. String - Current operational state of the availability group replica
- recovery
Health Description This property is required. String - Recovery health of the availability group replica.
- synchronization
Health Description 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
- Database
State Description This property is required. string - 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. string - the database replica name.
- Suspend
Reason Description This property is required. string - Description of the database suspended state reason.
- Synchronization
Health Description This property is required. string - Description of the health of database.
- Synchronization
State Description This property is required. string - Description of the data-movement state.
- Database
Name string - the database name.
- Database
State Description This property is required. string - 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. string - the database replica name.
- Suspend
Reason Description This property is required. string - Description of the database suspended state reason.
- Synchronization
Health Description This property is required. string - Description of the health of database.
- Synchronization
State Description This property is required. string - Description of the data-movement state.
- Database
Name string - the database name.
- database
State Description This property is required. String - Description of the database state of the availability replica.
- is
Commit Participant This property is required. Boolean - Whether this replica is transaction committer.
- is
Local This property is required. Boolean - Whether the availability database is local.
- is
Primary Replica This property is required. Boolean - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- is
Suspended This property is required. Boolean - Whether this data movement is suspended.
- replica
Name This property is required. String - the database replica name.
- suspend
Reason Description This property is required. String - Description of the database suspended state reason.
- synchronization
Health Description This property is required. String - Description of the health of database.
- synchronization
State Description This property is required. String - Description of the data-movement state.
- database
Name String - the database name.
- database
State Description This property is required. string - Description of the database state of the availability replica.
- is
Commit Participant This property is required. boolean - Whether this replica is transaction committer.
- is
Local This property is required. boolean - Whether the availability database is local.
- is
Primary Replica This property is required. boolean - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- is
Suspended This property is required. boolean - Whether this data movement is suspended.
- replica
Name This property is required. string - the database replica name.
- suspend
Reason Description This property is required. string - Description of the database suspended state reason.
- synchronization
Health Description This property is required. string - Description of the health of database.
- synchronization
State Description This property is required. string - Description of the data-movement state.
- database
Name 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.
- database
State Description This property is required. String - Description of the database state of the availability replica.
- is
Commit Participant This property is required. Boolean - Whether this replica is transaction committer.
- is
Local This property is required. Boolean - Whether the availability database is local.
- is
Primary Replica This property is required. Boolean - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- is
Suspended This property is required. Boolean - Whether this data movement is suspended.
- replica
Name This property is required. String - the database replica name.
- suspend
Reason Description This property is required. String - Description of the database suspended state reason.
- synchronization
Health Description This property is required. String - Description of the health of database.
- synchronization
State Description This property is required. String - Description of the data-movement state.
- database
Name String - the database name.
SqlAvailabilityGroupReplicaResourcePropertiesResponse
- Replica
Id This property is required. string - ID GUID of the availability group.
- Configure
Pulumi.
Azure Native. Azure Arc Data. Inputs. Availability Group Configure Response - null
- Replica
Name string - the replica name.
- State
Pulumi.
Azure Native. Azure Arc Data. Inputs. Availability Group State Response - null
- Replica
Id This property is required. string - ID GUID of the availability group.
- Configure
Availability
Group Configure Response - null
- Replica
Name string - the replica name.
- State
Availability
Group State Response - null
- replica
Id This property is required. String - ID GUID of the availability group.
- configure
Availability
Group Configure Response - null
- replica
Name String - the replica name.
- state
Availability
Group State Response - null
- replica
Id This property is required. string - ID GUID of the availability group.
- configure
Availability
Group Configure Response - null
- replica
Name string - the replica name.
- state
Availability
Group State Response - null
- replica_
id This property is required. str - ID GUID of the availability group.
- configure
Availability
Group Configure Response - null
- replica_
name str - the replica name.
- state
Availability
Group State Response - null
- replica
Id This property is required. String - ID GUID of the availability group.
- configure Property Map
- null
- replica
Name String - the replica name.
- state Property Map
- null
SqlServerAvailabilityGroupResourcePropertiesResponse
- Availability
Group Id This property is required. string - ID GUID of the availability group.
- Collection
Timestamp This property is required. string - Timestamp for when the data was collected from the client machine.
- Instance
Name This property is required. string - the SQL Server Instance name.
- Provisioning
State This property is required. string - The provisioning state of the Arc-enabled SQL Server availability group resource.
- Server
Name This property is required. string - the SQL server name.
- Databases
Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- Info
Pulumi.
Azure Native. Azure Arc Data. Inputs. Availability Group Info Response - Availability Group Info
- Replicas
Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- Availability
Group Id This property is required. string - ID GUID of the availability group.
- Collection
Timestamp This property is required. string - Timestamp for when the data was collected from the client machine.
- Instance
Name This property is required. string - the SQL Server Instance name.
- Provisioning
State This property is required. string - The provisioning state of the Arc-enabled SQL Server availability group resource.
- Server
Name This property is required. string - the SQL server name.
- Databases
Sql
Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- Info
Availability
Group Info Response - Availability Group Info
- Replicas
Sql
Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- availability
Group Id This property is required. String - ID GUID of the availability group.
- collection
Timestamp This property is required. String - Timestamp for when the data was collected from the client machine.
- instance
Name This property is required. String - the SQL Server Instance name.
- provisioning
State This property is required. String - The provisioning state of the Arc-enabled SQL Server availability group resource.
- server
Name This property is required. String - the SQL server name.
- databases
Sql
Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info Response - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- availability
Group Id This property is required. string - ID GUID of the availability group.
- collection
Timestamp This property is required. string - Timestamp for when the data was collected from the client machine.
- instance
Name This property is required. string - the SQL Server Instance name.
- provisioning
State This property is required. string - The provisioning state of the Arc-enabled SQL Server availability group resource.
- server
Name This property is required. string - the SQL server name.
- databases
Sql
Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info Response - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Response Replicas - 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
Sql
Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info Response - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- availability
Group Id This property is required. String - ID GUID of the availability group.
- collection
Timestamp This property is required. String - Timestamp for when the data was collected from the client machine.
- instance
Name This property is required. String - the SQL Server Instance name.
- provisioning
State This property is required. String - The provisioning state of the Arc-enabled SQL Server availability group resource.
- server
Name 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
- Next
Link This property is required. string - Link to retrieve next page of results.
- Value
List<Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Availability Group Database Replica Resource Properties Response> - Array of Availability Group Database Replicas.
- Next
Link This property is required. string - Link to retrieve next page of results.
- Value
[]Sql
Availability Group Database Replica Resource Properties Response - Array of Availability Group Database Replicas.
- next
Link This property is required. String - Link to retrieve next page of results.
- value
List<Sql
Availability Group Database Replica Resource Properties Response> - Array of Availability Group Database Replicas.
- next
Link This property is required. string - Link to retrieve next page of results.
- value
Sql
Availability Group Database Replica Resource Properties Response[] - Array of Availability Group Database Replicas.
- next_
link This property is required. str - Link to retrieve next page of results.
- value
Sequence[Sql
Availability Group Database Replica Resource Properties Response] - Array of Availability Group Database Replicas.
- next
Link This property is required. String - Link to retrieve next page of results.
- value List<Property Map>
- Array of Availability Group Database Replicas.
SqlServerAvailabilityGroupResourcePropertiesResponseReplicas
- Next
Link This property is required. string - Link to retrieve next page of results.
- Value
List<Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Availability Group Replica Resource Properties Response> - Array of Availability Group Replicas.
- Next
Link This property is required. string - Link to retrieve next page of results.
- Value
[]Sql
Availability Group Replica Resource Properties Response - Array of Availability Group Replicas.
- next
Link This property is required. String - Link to retrieve next page of results.
- value
List<Sql
Availability Group Replica Resource Properties Response> - Array of Availability Group Replicas.
- next
Link This property is required. string - Link to retrieve next page of results.
- value
Sql
Availability Group Replica Resource Properties Response[] - Array of Availability Group Replicas.
- next_
link This property is required. str - Link to retrieve next page of results.
- value
Sequence[Sql
Availability Group Replica Resource Properties Response] - Array of Availability Group Replicas.
- next
Link This property is required. String - Link to retrieve next page of results.
- value List<Property Map>
- Array of Availability Group Replicas.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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