1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getWorkloadClassifier
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.sql.getWorkloadClassifier

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Gets a workload classifier 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 getWorkloadClassifier

    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 getWorkloadClassifier(args: GetWorkloadClassifierArgs, opts?: InvokeOptions): Promise<GetWorkloadClassifierResult>
    function getWorkloadClassifierOutput(args: GetWorkloadClassifierOutputArgs, opts?: InvokeOptions): Output<GetWorkloadClassifierResult>
    def get_workload_classifier(database_name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                server_name: Optional[str] = None,
                                workload_classifier_name: Optional[str] = None,
                                workload_group_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetWorkloadClassifierResult
    def get_workload_classifier_output(database_name: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                server_name: Optional[pulumi.Input[str]] = None,
                                workload_classifier_name: Optional[pulumi.Input[str]] = None,
                                workload_group_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetWorkloadClassifierResult]
    func LookupWorkloadClassifier(ctx *Context, args *LookupWorkloadClassifierArgs, opts ...InvokeOption) (*LookupWorkloadClassifierResult, error)
    func LookupWorkloadClassifierOutput(ctx *Context, args *LookupWorkloadClassifierOutputArgs, opts ...InvokeOption) LookupWorkloadClassifierResultOutput

    > Note: This function is named LookupWorkloadClassifier in the Go SDK.

    public static class GetWorkloadClassifier 
    {
        public static Task<GetWorkloadClassifierResult> InvokeAsync(GetWorkloadClassifierArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkloadClassifierResult> Invoke(GetWorkloadClassifierInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkloadClassifierResult> getWorkloadClassifier(GetWorkloadClassifierArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:sql:getWorkloadClassifier
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DatabaseName string
    The name of the database.
    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.
    WorkloadClassifierName string
    The name of the workload classifier.
    WorkloadGroupName string
    The name of the workload group from which to receive the classifier from.
    DatabaseName string
    The name of the database.
    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.
    WorkloadClassifierName string
    The name of the workload classifier.
    WorkloadGroupName string
    The name of the workload group from which to receive the classifier from.
    databaseName String
    The name of the database.
    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.
    workloadClassifierName String
    The name of the workload classifier.
    workloadGroupName String
    The name of the workload group from which to receive the classifier from.
    databaseName string
    The name of the database.
    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.
    workloadClassifierName string
    The name of the workload classifier.
    workloadGroupName string
    The name of the workload group from which to receive the classifier from.
    database_name str
    The name of the database.
    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.
    workload_classifier_name str
    The name of the workload classifier.
    workload_group_name str
    The name of the workload group from which to receive the classifier from.
    databaseName String
    The name of the database.
    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.
    workloadClassifierName String
    The name of the workload classifier.
    workloadGroupName String
    The name of the workload group from which to receive the classifier from.

    getWorkloadClassifier Result

    The following output properties are available:

    Id string
    Resource ID.
    MemberName string
    The workload classifier member name.
    Name string
    Resource name.
    Type string
    Resource type.
    Context string
    The workload classifier context.
    EndTime string
    The workload classifier end time for classification.
    Importance string
    The workload classifier importance.
    Label string
    The workload classifier label.
    StartTime string
    The workload classifier start time for classification.
    Id string
    Resource ID.
    MemberName string
    The workload classifier member name.
    Name string
    Resource name.
    Type string
    Resource type.
    Context string
    The workload classifier context.
    EndTime string
    The workload classifier end time for classification.
    Importance string
    The workload classifier importance.
    Label string
    The workload classifier label.
    StartTime string
    The workload classifier start time for classification.
    id String
    Resource ID.
    memberName String
    The workload classifier member name.
    name String
    Resource name.
    type String
    Resource type.
    context String
    The workload classifier context.
    endTime String
    The workload classifier end time for classification.
    importance String
    The workload classifier importance.
    label String
    The workload classifier label.
    startTime String
    The workload classifier start time for classification.
    id string
    Resource ID.
    memberName string
    The workload classifier member name.
    name string
    Resource name.
    type string
    Resource type.
    context string
    The workload classifier context.
    endTime string
    The workload classifier end time for classification.
    importance string
    The workload classifier importance.
    label string
    The workload classifier label.
    startTime string
    The workload classifier start time for classification.
    id str
    Resource ID.
    member_name str
    The workload classifier member name.
    name str
    Resource name.
    type str
    Resource type.
    context str
    The workload classifier context.
    end_time str
    The workload classifier end time for classification.
    importance str
    The workload classifier importance.
    label str
    The workload classifier label.
    start_time str
    The workload classifier start time for classification.
    id String
    Resource ID.
    memberName String
    The workload classifier member name.
    name String
    Resource name.
    type String
    Resource type.
    context String
    The workload classifier context.
    endTime String
    The workload classifier end time for classification.
    importance String
    The workload classifier importance.
    label String
    The workload classifier label.
    startTime String
    The workload classifier start time for classification.

    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.47.1 published on Monday, Jun 24, 2024 by Pulumi