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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.sql.getSyncAgent
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets a sync agent. 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 getSyncAgent
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 getSyncAgent(args: GetSyncAgentArgs, opts?: InvokeOptions): Promise<GetSyncAgentResult>
function getSyncAgentOutput(args: GetSyncAgentOutputArgs, opts?: InvokeOptions): Output<GetSyncAgentResult>
def get_sync_agent(resource_group_name: Optional[str] = None,
server_name: Optional[str] = None,
sync_agent_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSyncAgentResult
def get_sync_agent_output(resource_group_name: Optional[pulumi.Input[str]] = None,
server_name: Optional[pulumi.Input[str]] = None,
sync_agent_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSyncAgentResult]
func LookupSyncAgent(ctx *Context, args *LookupSyncAgentArgs, opts ...InvokeOption) (*LookupSyncAgentResult, error)
func LookupSyncAgentOutput(ctx *Context, args *LookupSyncAgentOutputArgs, opts ...InvokeOption) LookupSyncAgentResultOutput
> Note: This function is named LookupSyncAgent
in the Go SDK.
public static class GetSyncAgent
{
public static Task<GetSyncAgentResult> InvokeAsync(GetSyncAgentArgs args, InvokeOptions? opts = null)
public static Output<GetSyncAgentResult> Invoke(GetSyncAgentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSyncAgentResult> getSyncAgent(GetSyncAgentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getSyncAgent
arguments:
# arguments dictionary
The following arguments are supported:
- 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 on which the sync agent is hosted.
- Sync
Agent stringName - The name of the sync agent.
- 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 on which the sync agent is hosted.
- Sync
Agent stringName - The name of the sync agent.
- 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 on which the sync agent is hosted.
- sync
Agent StringName - The name of the sync agent.
- 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 on which the sync agent is hosted.
- sync
Agent stringName - The name of the sync agent.
- 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 on which the sync agent is hosted.
- sync_
agent_ strname - The name of the sync agent.
- 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 on which the sync agent is hosted.
- sync
Agent StringName - The name of the sync agent.
getSyncAgent Result
The following output properties are available:
- Expiry
Time string - Expiration time of the sync agent version.
- Id string
- Resource ID.
- Is
Up boolTo Date - If the sync agent version is up to date.
- Last
Alive stringTime - Last alive time of the sync agent.
- Name string
- Resource name.
- State string
- State of the sync agent.
- Type string
- Resource type.
- Version string
- Version of the sync agent.
- Sync
Database stringId - ARM resource id of the sync database in the sync agent.
- Expiry
Time string - Expiration time of the sync agent version.
- Id string
- Resource ID.
- Is
Up boolTo Date - If the sync agent version is up to date.
- Last
Alive stringTime - Last alive time of the sync agent.
- Name string
- Resource name.
- State string
- State of the sync agent.
- Type string
- Resource type.
- Version string
- Version of the sync agent.
- Sync
Database stringId - ARM resource id of the sync database in the sync agent.
- expiry
Time String - Expiration time of the sync agent version.
- id String
- Resource ID.
- is
Up BooleanTo Date - If the sync agent version is up to date.
- last
Alive StringTime - Last alive time of the sync agent.
- name String
- Resource name.
- state String
- State of the sync agent.
- type String
- Resource type.
- version String
- Version of the sync agent.
- sync
Database StringId - ARM resource id of the sync database in the sync agent.
- expiry
Time string - Expiration time of the sync agent version.
- id string
- Resource ID.
- is
Up booleanTo Date - If the sync agent version is up to date.
- last
Alive stringTime - Last alive time of the sync agent.
- name string
- Resource name.
- state string
- State of the sync agent.
- type string
- Resource type.
- version string
- Version of the sync agent.
- sync
Database stringId - ARM resource id of the sync database in the sync agent.
- expiry_
time str - Expiration time of the sync agent version.
- id str
- Resource ID.
- is_
up_ boolto_ date - If the sync agent version is up to date.
- last_
alive_ strtime - Last alive time of the sync agent.
- name str
- Resource name.
- state str
- State of the sync agent.
- type str
- Resource type.
- version str
- Version of the sync agent.
- sync_
database_ strid - ARM resource id of the sync database in the sync agent.
- expiry
Time String - Expiration time of the sync agent version.
- id String
- Resource ID.
- is
Up BooleanTo Date - If the sync agent version is up to date.
- last
Alive StringTime - Last alive time of the sync agent.
- name String
- Resource name.
- state String
- State of the sync agent.
- type String
- Resource type.
- version String
- Version of the sync agent.
- sync
Database StringId - ARM resource id of the sync database in the sync agent.
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi