azure-native.sql.getSyncAgent
Explore with Pulumi AI
Gets a sync agent.
Uses Azure REST API version 2023-08-01.
Other available API versions: 2015-05-01-preview, 2020-02-02-preview, 2020-08-01-preview, 2020-11-01-preview, 2021-02-01-preview, 2021-05-01-preview, 2021-08-01-preview, 2021-11-01, 2021-11-01-preview, 2022-02-01-preview, 2022-05-01-preview, 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native sql [ApiVersion]
. See the version guide for details.
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)
public static Output<GetSyncAgentResult> getSyncAgent(GetSyncAgentArgs args, InvokeOptions options)
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:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- azure
Api stringVersion - The Azure API version of the resource.
- 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.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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