1. Packages
  2. Azure Native v2
  3. API Docs
  4. sql
  5. getSyncMember
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.sql.getSyncMember

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

Gets a sync member. Azure REST API version: 2021-11-01.

Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.

Using getSyncMember

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 getSyncMember(args: GetSyncMemberArgs, opts?: InvokeOptions): Promise<GetSyncMemberResult>
function getSyncMemberOutput(args: GetSyncMemberOutputArgs, opts?: InvokeOptions): Output<GetSyncMemberResult>
Copy
def get_sync_member(database_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    server_name: Optional[str] = None,
                    sync_group_name: Optional[str] = None,
                    sync_member_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetSyncMemberResult
def get_sync_member_output(database_name: Optional[pulumi.Input[str]] = None,
                    resource_group_name: Optional[pulumi.Input[str]] = None,
                    server_name: Optional[pulumi.Input[str]] = None,
                    sync_group_name: Optional[pulumi.Input[str]] = None,
                    sync_member_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetSyncMemberResult]
Copy
func LookupSyncMember(ctx *Context, args *LookupSyncMemberArgs, opts ...InvokeOption) (*LookupSyncMemberResult, error)
func LookupSyncMemberOutput(ctx *Context, args *LookupSyncMemberOutputArgs, opts ...InvokeOption) LookupSyncMemberResultOutput
Copy

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

public static class GetSyncMember 
{
    public static Task<GetSyncMemberResult> InvokeAsync(GetSyncMemberArgs args, InvokeOptions? opts = null)
    public static Output<GetSyncMemberResult> Invoke(GetSyncMemberInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSyncMemberResult> getSyncMember(GetSyncMemberArgs args, InvokeOptions options)
public static Output<GetSyncMemberResult> getSyncMember(GetSyncMemberArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:sql:getSyncMember
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DatabaseName
This property is required.
Changes to this property will trigger replacement.
string
The name of the database on which the sync group is hosted.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
ServerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
SyncGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the sync group on which the sync member is hosted.
SyncMemberName
This property is required.
Changes to this property will trigger replacement.
string
The name of the sync member.
DatabaseName
This property is required.
Changes to this property will trigger replacement.
string
The name of the database on which the sync group is hosted.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
ServerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
SyncGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the sync group on which the sync member is hosted.
SyncMemberName
This property is required.
Changes to this property will trigger replacement.
string
The name of the sync member.
databaseName
This property is required.
Changes to this property will trigger replacement.
String
The name of the database on which the sync group is hosted.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server.
syncGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the sync group on which the sync member is hosted.
syncMemberName
This property is required.
Changes to this property will trigger replacement.
String
The name of the sync member.
databaseName
This property is required.
Changes to this property will trigger replacement.
string
The name of the database on which the sync group is hosted.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName
This property is required.
Changes to this property will trigger replacement.
string
The name of the server.
syncGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the sync group on which the sync member is hosted.
syncMemberName
This property is required.
Changes to this property will trigger replacement.
string
The name of the sync member.
database_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the database on which the sync group is hosted.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
server_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the server.
sync_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the sync group on which the sync member is hosted.
sync_member_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the sync member.
databaseName
This property is required.
Changes to this property will trigger replacement.
String
The name of the database on which the sync group is hosted.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName
This property is required.
Changes to this property will trigger replacement.
String
The name of the server.
syncGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the sync group on which the sync member is hosted.
syncMemberName
This property is required.
Changes to this property will trigger replacement.
String
The name of the sync member.

getSyncMember Result

The following output properties are available:

Id string
Resource ID.
Name string
Resource name.
PrivateEndpointName string
Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
SyncState string
Sync state of the sync member.
Type string
Resource type.
DatabaseName string
Database name of the member database in the sync member.
DatabaseType string
Database type of the sync member.
ServerName string
Server name of the member database in the sync member
SqlServerDatabaseId string
SQL Server database id of the sync member.
SyncAgentId string
ARM resource id of the sync agent in the sync member.
SyncDirection string
Sync direction of the sync member.
SyncMemberAzureDatabaseResourceId string
ARM resource id of the sync member logical database, for sync members in Azure.
UsePrivateLinkConnection bool
Whether to use private link connection.
UserName string
User name of the member database in the sync member.
Id string
Resource ID.
Name string
Resource name.
PrivateEndpointName string
Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
SyncState string
Sync state of the sync member.
Type string
Resource type.
DatabaseName string
Database name of the member database in the sync member.
DatabaseType string
Database type of the sync member.
ServerName string
Server name of the member database in the sync member
SqlServerDatabaseId string
SQL Server database id of the sync member.
SyncAgentId string
ARM resource id of the sync agent in the sync member.
SyncDirection string
Sync direction of the sync member.
SyncMemberAzureDatabaseResourceId string
ARM resource id of the sync member logical database, for sync members in Azure.
UsePrivateLinkConnection bool
Whether to use private link connection.
UserName string
User name of the member database in the sync member.
id String
Resource ID.
name String
Resource name.
privateEndpointName String
Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
syncState String
Sync state of the sync member.
type String
Resource type.
databaseName String
Database name of the member database in the sync member.
databaseType String
Database type of the sync member.
serverName String
Server name of the member database in the sync member
sqlServerDatabaseId String
SQL Server database id of the sync member.
syncAgentId String
ARM resource id of the sync agent in the sync member.
syncDirection String
Sync direction of the sync member.
syncMemberAzureDatabaseResourceId String
ARM resource id of the sync member logical database, for sync members in Azure.
usePrivateLinkConnection Boolean
Whether to use private link connection.
userName String
User name of the member database in the sync member.
id string
Resource ID.
name string
Resource name.
privateEndpointName string
Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
syncState string
Sync state of the sync member.
type string
Resource type.
databaseName string
Database name of the member database in the sync member.
databaseType string
Database type of the sync member.
serverName string
Server name of the member database in the sync member
sqlServerDatabaseId string
SQL Server database id of the sync member.
syncAgentId string
ARM resource id of the sync agent in the sync member.
syncDirection string
Sync direction of the sync member.
syncMemberAzureDatabaseResourceId string
ARM resource id of the sync member logical database, for sync members in Azure.
usePrivateLinkConnection boolean
Whether to use private link connection.
userName string
User name of the member database in the sync member.
id str
Resource ID.
name str
Resource name.
private_endpoint_name str
Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
sync_state str
Sync state of the sync member.
type str
Resource type.
database_name str
Database name of the member database in the sync member.
database_type str
Database type of the sync member.
server_name str
Server name of the member database in the sync member
sql_server_database_id str
SQL Server database id of the sync member.
sync_agent_id str
ARM resource id of the sync agent in the sync member.
sync_direction str
Sync direction of the sync member.
sync_member_azure_database_resource_id str
ARM resource id of the sync member logical database, for sync members in Azure.
use_private_link_connection bool
Whether to use private link connection.
user_name str
User name of the member database in the sync member.
id String
Resource ID.
name String
Resource name.
privateEndpointName String
Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
syncState String
Sync state of the sync member.
type String
Resource type.
databaseName String
Database name of the member database in the sync member.
databaseType String
Database type of the sync member.
serverName String
Server name of the member database in the sync member
sqlServerDatabaseId String
SQL Server database id of the sync member.
syncAgentId String
ARM resource id of the sync agent in the sync member.
syncDirection String
Sync direction of the sync member.
syncMemberAzureDatabaseResourceId String
ARM resource id of the sync member logical database, for sync members in Azure.
usePrivateLinkConnection Boolean
Whether to use private link connection.
userName String
User name of the member database in the sync member.

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