azure-native.sql.getJobTargetGroup
Explore with Pulumi AI
Gets a target group.
Uses Azure REST API version 2023-08-01.
Other available API versions: 2017-03-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 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:
- Job
Agent stringName  - The name of the job 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.
 - Target
Group stringName  - The name of the target group.
 
- Job
Agent stringName  - The name of the job 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.
 - Target
Group stringName  - The name of the target group.
 
- job
Agent StringName  - The name of the job 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.
 - target
Group StringName  - The name of the target group.
 
- job
Agent stringName  - The name of the job 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.
 - target
Group 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.
 
- job
Agent StringName  - The name of the job 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.
 - target
Group StringName  - The name of the target group.
 
getJobTargetGroup Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - 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.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Resource ID.
 - Members
[]Job
Target Response  - Members of the target group.
 - Name string
 - Resource name.
 - Type string
 - Resource type.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Resource ID.
 - members
List<Job
Target Response>  - Members of the target group.
 - name String
 - Resource name.
 - type String
 - Resource type.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - Resource ID.
 - members
Job
Target Response[]  - Members of the target group.
 - name string
 - Resource name.
 - type string
 - Resource type.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - Resource ID.
 - members
Sequence[Job
Target Response]  - Members of the target group.
 - name str
 - Resource name.
 - type str
 - Resource type.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - 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.
 - Database
Name string - The target database name.
 - Elastic
Pool stringName  - The target elastic pool name.
 - Membership
Type string - Whether the target is included or excluded from the group.
 - Refresh
Credential 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.
 - Server
Name string - The target server name.
 - string
 - The target shard map.
 
- Type string
 - The target type.
 - Database
Name string - The target database name.
 - Elastic
Pool stringName  - The target elastic pool name.
 - Membership
Type string - Whether the target is included or excluded from the group.
 - Refresh
Credential 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.
 - Server
Name string - The target server name.
 - string
 - The target shard map.
 
- type String
 - The target type.
 - database
Name String - The target database name.
 - elastic
Pool StringName  - The target elastic pool name.
 - membership
Type String - Whether the target is included or excluded from the group.
 - refresh
Credential 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.
 - server
Name String - The target server name.
 - String
 - The target shard map.
 
- type string
 - The target type.
 - database
Name string - The target database name.
 - elastic
Pool stringName  - The target elastic pool name.
 - membership
Type string - Whether the target is included or excluded from the group.
 - refresh
Credential 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.
 - server
Name 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.
 - database
Name String - The target database name.
 - elastic
Pool StringName  - The target elastic pool name.
 - membership
Type String - Whether the target is included or excluded from the group.
 - refresh
Credential 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.
 - server
Name String - The target server name.
 - String
 - The target shard map.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0