azure-native.sql.getWorkloadClassifier
Explore with Pulumi AI
Gets a workload classifier
Uses Azure REST API version 2023-08-01.
Other available API versions: 2019-06-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 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 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:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- azure
Api stringVersion - The Azure API version of the resource.
- 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.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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