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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 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, 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getWorkloadClassifier
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Name string - The name of the database.
- 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.
- Workload
Classifier stringName - The name of the workload classifier.
- Workload
Group stringName - The name of the workload group from which to receive the classifier from.
- Database
Name string - The name of the database.
- 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.
- Workload
Classifier stringName - The name of the workload classifier.
- Workload
Group stringName - The name of the workload group from which to receive the classifier from.
- database
Name String - The name of the database.
- 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.
- workload
Classifier StringName - The name of the workload classifier.
- workload
Group StringName - The name of the workload group from which to receive the classifier from.
- database
Name string - The name of the database.
- 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.
- workload
Classifier stringName - The name of the workload classifier.
- workload
Group 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.
- database
Name String - The name of the database.
- 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.
- workload
Classifier StringName - The name of the workload classifier.
- workload
Group 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.
- Member
Name string - The workload classifier member name.
- Name string
- Resource name.
- Type string
- Resource type.
- Context string
- The workload classifier context.
- End
Time string - The workload classifier end time for classification.
- Importance string
- The workload classifier importance.
- Label string
- The workload classifier label.
- Start
Time string - The workload classifier start time for classification.
- Id string
- Resource ID.
- Member
Name string - The workload classifier member name.
- Name string
- Resource name.
- Type string
- Resource type.
- Context string
- The workload classifier context.
- End
Time string - The workload classifier end time for classification.
- Importance string
- The workload classifier importance.
- Label string
- The workload classifier label.
- Start
Time string - The workload classifier start time for classification.
- id String
- Resource ID.
- member
Name String - The workload classifier member name.
- name String
- Resource name.
- type String
- Resource type.
- context String
- The workload classifier context.
- end
Time String - The workload classifier end time for classification.
- importance String
- The workload classifier importance.
- label String
- The workload classifier label.
- start
Time String - The workload classifier start time for classification.
- id string
- Resource ID.
- member
Name string - The workload classifier member name.
- name string
- Resource name.
- type string
- Resource type.
- context string
- The workload classifier context.
- end
Time string - The workload classifier end time for classification.
- importance string
- The workload classifier importance.
- label string
- The workload classifier label.
- start
Time 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.
- member
Name String - The workload classifier member name.
- name String
- Resource name.
- type String
- Resource type.
- context String
- The workload classifier context.
- end
Time String - The workload classifier end time for classification.
- importance String
- The workload classifier importance.
- label String
- The workload classifier label.
- start
Time 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi