1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getJobTargetGroup
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.38.0 published on Monday, Apr 22, 2024 by Pulumi

azure-native.sql.getJobTargetGroup

Explore with Pulumi AI

azure-native logo
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.38.0 published on Monday, Apr 22, 2024 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.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:sql:getJobTargetGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    JobAgentName string
    The name of the job agent.
    ResourceGroupName string
    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.
    TargetGroupName string
    The name of the target group.
    JobAgentName string
    The name of the job agent.
    ResourceGroupName string
    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.
    TargetGroupName string
    The name of the target group.
    jobAgentName String
    The name of the job agent.
    resourceGroupName String
    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.
    targetGroupName String
    The name of the target group.
    jobAgentName string
    The name of the job agent.
    resourceGroupName string
    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.
    targetGroupName string
    The name of the target group.
    job_agent_name str
    The name of the job agent.
    resource_group_name str
    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_name str
    The name of the target group.
    jobAgentName String
    The name of the job agent.
    resourceGroupName String
    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.
    targetGroupName String
    The name of the target group.

    getJobTargetGroup Result

    The following output properties are available:

    Id string
    Resource ID.
    Members List<Pulumi.AzureNative.Sql.Outputs.JobTargetResponse>
    Members of the target group.
    Name string
    Resource name.
    Type string
    Resource type.
    Id string
    Resource ID.
    Members []JobTargetResponse
    Members of the target group.
    Name string
    Resource name.
    Type string
    Resource type.
    id String
    Resource ID.
    members List<JobTargetResponse>
    Members of the target group.
    name String
    Resource name.
    type String
    Resource type.
    id string
    Resource ID.
    members JobTargetResponse[]
    Members of the target group.
    name string
    Resource name.
    type string
    Resource type.
    id str
    Resource ID.
    members Sequence[JobTargetResponse]
    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.
    ElasticPoolName string
    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.
    ShardMapName string
    The target shard map.
    Type string
    The target type.
    DatabaseName string
    The target database name.
    ElasticPoolName string
    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.
    ShardMapName string
    The target shard map.
    type String
    The target type.
    databaseName String
    The target database name.
    elasticPoolName String
    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.
    shardMapName String
    The target shard map.
    type string
    The target type.
    databaseName string
    The target database name.
    elasticPoolName string
    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.
    shardMapName string
    The target shard map.
    type str
    The target type.
    database_name str
    The target database name.
    elastic_pool_name str
    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.
    shard_map_name str
    The target shard map.
    type String
    The target type.
    databaseName String
    The target database name.
    elasticPoolName String
    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.
    shardMapName String
    The target shard map.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.38.0 published on Monday, Apr 22, 2024 by Pulumi