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.47.1 published on Monday, Jun 24, 2024 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.47.1 published on Monday, Jun 24, 2024 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.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getSyncMember
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Name string - The name of the database on which the sync group is hosted.
- Resource
Group 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.
- Server
Name string - The name of the server.
- Sync
Group stringName - The name of the sync group on which the sync member is hosted.
- Sync
Member stringName - The name of the sync member.
- Database
Name string - The name of the database on which the sync group is hosted.
- Resource
Group 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.
- Server
Name string - The name of the server.
- Sync
Group stringName - The name of the sync group on which the sync member is hosted.
- Sync
Member stringName - The name of the sync member.
- database
Name String - The name of the database on which the sync group is hosted.
- resource
Group 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.
- server
Name String - The name of the server.
- sync
Group StringName - The name of the sync group on which the sync member is hosted.
- sync
Member StringName - The name of the sync member.
- database
Name string - The name of the database on which the sync group is hosted.
- resource
Group 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.
- server
Name string - The name of the server.
- sync
Group stringName - The name of the sync group on which the sync member is hosted.
- sync
Member 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.
- database
Name String - The name of the database on which the sync group is hosted.
- resource
Group 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.
- server
Name String - The name of the server.
- sync
Group StringName - The name of the sync group on which the sync member is hosted.
- sync
Member StringName - The name of the sync member.
getSyncMember Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Resource name.
- Private
Endpoint stringName - Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
- Sync
State string - Sync state of the sync member.
- Type string
- Resource type.
- Database
Name string - Database name of the member database in the sync member.
- Database
Type string - Database type of the sync member.
- Server
Name string - Server name of the member database in the sync member
- Sql
Server stringDatabase Id - SQL Server database id of the sync member.
- Sync
Agent stringId - ARM resource id of the sync agent in the sync member.
- Sync
Direction string - Sync direction of the sync member.
- Sync
Member stringAzure 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 string - User name of the member database in the sync member.
- Id string
- Resource ID.
- Name string
- Resource name.
- Private
Endpoint stringName - Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
- Sync
State string - Sync state of the sync member.
- Type string
- Resource type.
- Database
Name string - Database name of the member database in the sync member.
- Database
Type string - Database type of the sync member.
- Server
Name string - Server name of the member database in the sync member
- Sql
Server stringDatabase Id - SQL Server database id of the sync member.
- Sync
Agent stringId - ARM resource id of the sync agent in the sync member.
- Sync
Direction string - Sync direction of the sync member.
- Sync
Member stringAzure 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 string - User name of the member database in the sync member.
- id String
- Resource ID.
- name String
- Resource name.
- private
Endpoint StringName - Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
- sync
State String - Sync state of the sync member.
- type String
- Resource type.
- database
Name String - Database name of the member database in the sync member.
- database
Type String - Database type of the sync member.
- server
Name String - Server name of the member database in the sync member
- sql
Server StringDatabase Id - SQL Server database id of the sync member.
- sync
Agent StringId - ARM resource id of the sync agent in the sync member.
- sync
Direction String - Sync direction of the sync member.
- sync
Member StringAzure Database Resource Id - ARM resource id of the sync member logical database, for sync members in Azure.
- use
Private BooleanLink Connection - Whether to use private link connection.
- user
Name String - User name of the member database in the sync member.
- id string
- Resource ID.
- name string
- Resource name.
- private
Endpoint stringName - Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
- sync
State string - Sync state of the sync member.
- type string
- Resource type.
- database
Name string - Database name of the member database in the sync member.
- database
Type string - Database type of the sync member.
- server
Name string - Server name of the member database in the sync member
- sql
Server stringDatabase Id - SQL Server database id of the sync member.
- sync
Agent stringId - ARM resource id of the sync agent in the sync member.
- sync
Direction string - Sync direction of the sync member.
- sync
Member stringAzure Database Resource Id - ARM resource id of the sync member logical database, for sync members in Azure.
- use
Private booleanLink Connection - Whether to use private link connection.
- user
Name 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.
- private
Endpoint StringName - Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure.
- sync
State String - Sync state of the sync member.
- type String
- Resource type.
- database
Name String - Database name of the member database in the sync member.
- database
Type String - Database type of the sync member.
- server
Name String - Server name of the member database in the sync member
- sql
Server StringDatabase Id - SQL Server database id of the sync member.
- sync
Agent StringId - ARM resource id of the sync agent in the sync member.
- sync
Direction String - Sync direction of the sync member.
- sync
Member StringAzure Database Resource Id - ARM resource id of the sync member logical database, for sync members in Azure.
- use
Private BooleanLink Connection - Whether to use private link connection.
- user
Name 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.47.1 published on Monday, Jun 24, 2024 by Pulumi