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.getJobTargetGroup
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 target group. 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 getJobTargetGroup
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 getJobTargetGroup(args: GetJobTargetGroupArgs, opts?: InvokeOptions): Promise<GetJobTargetGroupResult>
function getJobTargetGroupOutput(args: GetJobTargetGroupOutputArgs, opts?: InvokeOptions): Output<GetJobTargetGroupResult>def get_job_target_group(job_agent_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         server_name: Optional[str] = None,
                         target_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetJobTargetGroupResult
def get_job_target_group_output(job_agent_name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         server_name: Optional[pulumi.Input[str]] = None,
                         target_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetJobTargetGroupResult]func LookupJobTargetGroup(ctx *Context, args *LookupJobTargetGroupArgs, opts ...InvokeOption) (*LookupJobTargetGroupResult, error)
func LookupJobTargetGroupOutput(ctx *Context, args *LookupJobTargetGroupOutputArgs, opts ...InvokeOption) LookupJobTargetGroupResultOutput> Note: This function is named LookupJobTargetGroup in the Go SDK.
public static class GetJobTargetGroup 
{
    public static Task<GetJobTargetGroupResult> InvokeAsync(GetJobTargetGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetJobTargetGroupResult> Invoke(GetJobTargetGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJobTargetGroupResult> getJobTargetGroup(GetJobTargetGroupArgs args, InvokeOptions options)
public static Output<GetJobTargetGroupResult> getJobTargetGroup(GetJobTargetGroupArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sql:getJobTargetGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- JobAgent stringName 
- The name of the job agent.
- 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.
- TargetGroup stringName 
- The name of the target group.
- JobAgent stringName 
- The name of the job agent.
- 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.
- TargetGroup stringName 
- The name of the target group.
- jobAgent StringName 
- The name of the job agent.
- 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.
- targetGroup StringName 
- The name of the target group.
- jobAgent stringName 
- The name of the job agent.
- 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.
- targetGroup stringName 
- The name of the target group.
- job_agent_ strname 
- The name of the job 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.
- target_group_ strname 
- The name of the target group.
- jobAgent StringName 
- The name of the job agent.
- 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.
- targetGroup StringName 
- The name of the target group.
getJobTargetGroup Result
The following output properties are available:
- Id string
- Resource ID.
- Members
List<Pulumi.Azure Native. Sql. Outputs. Job Target Response> 
- Members of the target group.
- Name string
- Resource name.
- Type string
- Resource type.
- Id string
- Resource ID.
- Members
[]JobTarget Response 
- Members of the target group.
- Name string
- Resource name.
- Type string
- Resource type.
- id String
- Resource ID.
- members
List<JobTarget Response> 
- Members of the target group.
- name String
- Resource name.
- type String
- Resource type.
- id string
- Resource ID.
- members
JobTarget Response[] 
- Members of the target group.
- name string
- Resource name.
- type string
- Resource type.
- id str
- Resource ID.
- members
Sequence[JobTarget Response] 
- Members of the target group.
- name str
- Resource name.
- type str
- Resource type.
- id String
- Resource ID.
- members List<Property Map>
- Members of the target group.
- name String
- Resource name.
- type String
- Resource type.
Supporting Types
JobTargetResponse  
- Type string
- The target type.
- DatabaseName string
- The target database name.
- ElasticPool stringName 
- The target elastic pool name.
- MembershipType string
- Whether the target is included or excluded from the group.
- RefreshCredential string
- The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target.
- ServerName string
- The target server name.
- string
- The target shard map.
- Type string
- The target type.
- DatabaseName string
- The target database name.
- ElasticPool stringName 
- The target elastic pool name.
- MembershipType string
- Whether the target is included or excluded from the group.
- RefreshCredential string
- The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target.
- ServerName string
- The target server name.
- string
- The target shard map.
- type String
- The target type.
- databaseName String
- The target database name.
- elasticPool StringName 
- The target elastic pool name.
- membershipType String
- Whether the target is included or excluded from the group.
- refreshCredential String
- The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target.
- serverName String
- The target server name.
- String
- The target shard map.
- type string
- The target type.
- databaseName string
- The target database name.
- elasticPool stringName 
- The target elastic pool name.
- membershipType string
- Whether the target is included or excluded from the group.
- refreshCredential string
- The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target.
- serverName string
- The target server name.
- string
- The target shard map.
- type str
- The target type.
- database_name str
- The target database name.
- elastic_pool_ strname 
- The target elastic pool name.
- membership_type str
- Whether the target is included or excluded from the group.
- refresh_credential str
- The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target.
- server_name str
- The target server name.
- str
- The target shard map.
- type String
- The target type.
- databaseName String
- The target database name.
- elasticPool StringName 
- The target elastic pool name.
- membershipType String
- Whether the target is included or excluded from the group.
- refreshCredential String
- The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target.
- serverName String
- The target server name.
- String
- The target shard map.
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