This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.sql.getSyncMember
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 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>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]func LookupSyncMember(ctx *Context, args *LookupSyncMemberArgs, opts ...InvokeOption) (*LookupSyncMemberResult, error)
func LookupSyncMemberOutput(ctx *Context, args *LookupSyncMemberOutputArgs, opts ...InvokeOption) LookupSyncMemberResultOutput> 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)
}public static CompletableFuture<GetSyncMemberResult> getSyncMember(GetSyncMemberArgs args, InvokeOptions options)
public static Output<GetSyncMemberResult> getSyncMember(GetSyncMemberArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sql:getSyncMember
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DatabaseName string
- The name of the database on which the sync group is hosted.
- ResourceGroup stringName 
- 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 string
- The name of the server.
- SyncGroup stringName 
- The name of the sync group on which the sync member is hosted.
- SyncMember stringName 
- The name of the sync member.
- DatabaseName string
- The name of the database on which the sync group is hosted.
- ResourceGroup stringName 
- 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 string
- The name of the server.
- SyncGroup stringName 
- The name of the sync group on which the sync member is hosted.
- SyncMember stringName 
- The name of the sync member.
- databaseName String
- The name of the database on which the sync group is hosted.
- resourceGroup StringName 
- 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 String
- The name of the server.
- syncGroup StringName 
- The name of the sync group on which the sync member is hosted.
- syncMember StringName 
- The name of the sync member.
- databaseName string
- The name of the database on which the sync group is hosted.
- resourceGroup stringName 
- 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 string
- The name of the server.
- syncGroup stringName 
- The name of the sync group on which the sync member is hosted.
- syncMember stringName 
- The name of the sync member.
- database_name str
- The name of the database on which the sync group is hosted.
- resource_group_ strname 
- 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 str
- The name of the server.
- sync_group_ strname 
- The name of the sync group on which the sync member is hosted.
- sync_member_ strname 
- The name of the sync member.
- databaseName String
- The name of the database on which the sync group is hosted.
- resourceGroup StringName 
- 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 String
- The name of the server.
- syncGroup StringName 
- The name of the sync group on which the sync member is hosted.
- syncMember StringName 
- The name of the sync member.
getSyncMember Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Resource name.
- PrivateEndpoint stringName 
- 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
- SqlServer stringDatabase Id 
- SQL Server database id of the sync member.
- SyncAgent stringId 
- ARM resource id of the sync agent in the sync member.
- SyncDirection string
- Sync direction of the sync member.
- SyncMember stringAzure Database Resource Id 
- ARM resource id of the sync member logical database, for sync members in Azure.
- UsePrivate boolLink Connection 
- 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.
- PrivateEndpoint stringName 
- 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
- SqlServer stringDatabase Id 
- SQL Server database id of the sync member.
- SyncAgent stringId 
- ARM resource id of the sync agent in the sync member.
- SyncDirection string
- Sync direction of the sync member.
- SyncMember stringAzure Database Resource Id 
- ARM resource id of the sync member logical database, for sync members in Azure.
- UsePrivate boolLink Connection 
- 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.
- privateEndpoint StringName 
- 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
- sqlServer StringDatabase Id 
- SQL Server database id of the sync member.
- syncAgent StringId 
- ARM resource id of the sync agent in the sync member.
- syncDirection String
- Sync direction of the sync member.
- syncMember StringAzure Database Resource Id 
- ARM resource id of the sync member logical database, for sync members in Azure.
- usePrivate BooleanLink Connection 
- 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.
- privateEndpoint stringName 
- 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
- sqlServer stringDatabase Id 
- SQL Server database id of the sync member.
- syncAgent stringId 
- ARM resource id of the sync agent in the sync member.
- syncDirection string
- Sync direction of the sync member.
- syncMember stringAzure Database Resource Id 
- ARM resource id of the sync member logical database, for sync members in Azure.
- usePrivate booleanLink Connection 
- 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_ strname 
- 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_ strdatabase_ id 
- SQL Server database id of the sync member.
- sync_agent_ strid 
- ARM resource id of the sync agent in the sync member.
- sync_direction str
- Sync direction of the sync member.
- sync_member_ strazure_ database_ resource_ id 
- ARM resource id of the sync member logical database, for sync members in Azure.
- use_private_ boollink_ connection 
- 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.
- privateEndpoint StringName 
- 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
- sqlServer StringDatabase Id 
- SQL Server database id of the sync member.
- syncAgent StringId 
- ARM resource id of the sync agent in the sync member.
- syncDirection String
- Sync direction of the sync member.
- syncMember StringAzure Database Resource Id 
- ARM resource id of the sync member logical database, for sync members in Azure.
- usePrivate BooleanLink Connection 
- Whether to use private link connection.
- userName String
- User name of the member database in the sync member.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi