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.getWorkloadClassifier
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 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, 2024-05-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)
public static Output<GetWorkloadClassifierResult> getWorkloadClassifier(GetWorkloadClassifierArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sql:getWorkloadClassifier
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DatabaseName string
- The name of the database.
- 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.
- WorkloadClassifier stringName 
- The name of the workload classifier.
- WorkloadGroup stringName 
- The name of the workload group from which to receive the classifier from.
- DatabaseName string
- The name of the database.
- 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.
- WorkloadClassifier stringName 
- The name of the workload classifier.
- WorkloadGroup stringName 
- The name of the workload group from which to receive the classifier from.
- databaseName String
- The name of the database.
- 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.
- workloadClassifier StringName 
- The name of the workload classifier.
- workloadGroup StringName 
- The name of the workload group from which to receive the classifier from.
- databaseName string
- The name of the database.
- 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.
- workloadClassifier stringName 
- The name of the workload classifier.
- workloadGroup stringName 
- The name of the workload group from which to receive the classifier from.
- database_name str
- The name of the database.
- 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.
- workload_classifier_ strname 
- The name of the workload classifier.
- workload_group_ strname 
- The name of the workload group from which to receive the classifier from.
- databaseName String
- The name of the database.
- 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.
- workloadClassifier StringName 
- The name of the workload classifier.
- workloadGroup StringName 
- 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
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