Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.sql.getWorkloadGroup
Explore with Pulumi AI
Gets a workload group API Version: 2020-11-01-preview.
Using getWorkloadGroup
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 getWorkloadGroup(args: GetWorkloadGroupArgs, opts?: InvokeOptions): Promise<GetWorkloadGroupResult>
function getWorkloadGroupOutput(args: GetWorkloadGroupOutputArgs, opts?: InvokeOptions): Output<GetWorkloadGroupResult>
def get_workload_group(database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
server_name: Optional[str] = None,
workload_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkloadGroupResult
def get_workload_group_output(database_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
server_name: Optional[pulumi.Input[str]] = None,
workload_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkloadGroupResult]
func LookupWorkloadGroup(ctx *Context, args *LookupWorkloadGroupArgs, opts ...InvokeOption) (*LookupWorkloadGroupResult, error)
func LookupWorkloadGroupOutput(ctx *Context, args *LookupWorkloadGroupOutputArgs, opts ...InvokeOption) LookupWorkloadGroupResultOutput
> Note: This function is named LookupWorkloadGroup
in the Go SDK.
public static class GetWorkloadGroup
{
public static Task<GetWorkloadGroupResult> InvokeAsync(GetWorkloadGroupArgs args, InvokeOptions? opts = null)
public static Output<GetWorkloadGroupResult> Invoke(GetWorkloadGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkloadGroupResult> getWorkloadGroup(GetWorkloadGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getWorkloadGroup
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
Group stringName The name of the workload group.
- 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
Group stringName The name of the workload group.
- 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
Group StringName The name of the workload group.
- 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
Group stringName The name of the workload group.
- 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_
group_ strname The name of the workload group.
- 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
Group StringName The name of the workload group.
getWorkloadGroup Result
The following output properties are available:
- Id string
Resource ID.
- Max
Resource intPercent The workload group cap percentage resource.
- Min
Resource intPercent The workload group minimum percentage resource.
- Min
Resource doublePercent Per Request The workload group request minimum grant percentage.
- Name string
Resource name.
- Type string
Resource type.
- Importance string
The workload group importance level.
- Max
Resource doublePercent Per Request The workload group request maximum grant percentage.
- Query
Execution intTimeout The workload group query execution timeout.
- Id string
Resource ID.
- Max
Resource intPercent The workload group cap percentage resource.
- Min
Resource intPercent The workload group minimum percentage resource.
- Min
Resource float64Percent Per Request The workload group request minimum grant percentage.
- Name string
Resource name.
- Type string
Resource type.
- Importance string
The workload group importance level.
- Max
Resource float64Percent Per Request The workload group request maximum grant percentage.
- Query
Execution intTimeout The workload group query execution timeout.
- id String
Resource ID.
- max
Resource IntegerPercent The workload group cap percentage resource.
- min
Resource IntegerPercent The workload group minimum percentage resource.
- min
Resource DoublePercent Per Request The workload group request minimum grant percentage.
- name String
Resource name.
- type String
Resource type.
- importance String
The workload group importance level.
- max
Resource DoublePercent Per Request The workload group request maximum grant percentage.
- query
Execution IntegerTimeout The workload group query execution timeout.
- id string
Resource ID.
- max
Resource numberPercent The workload group cap percentage resource.
- min
Resource numberPercent The workload group minimum percentage resource.
- min
Resource numberPercent Per Request The workload group request minimum grant percentage.
- name string
Resource name.
- type string
Resource type.
- importance string
The workload group importance level.
- max
Resource numberPercent Per Request The workload group request maximum grant percentage.
- query
Execution numberTimeout The workload group query execution timeout.
- id str
Resource ID.
- max_
resource_ intpercent The workload group cap percentage resource.
- min_
resource_ intpercent The workload group minimum percentage resource.
- min_
resource_ floatpercent_ per_ request The workload group request minimum grant percentage.
- name str
Resource name.
- type str
Resource type.
- importance str
The workload group importance level.
- max_
resource_ floatpercent_ per_ request The workload group request maximum grant percentage.
- query_
execution_ inttimeout The workload group query execution timeout.
- id String
Resource ID.
- max
Resource NumberPercent The workload group cap percentage resource.
- min
Resource NumberPercent The workload group minimum percentage resource.
- min
Resource NumberPercent Per Request The workload group request minimum grant percentage.
- name String
Resource name.
- type String
Resource type.
- importance String
The workload group importance level.
- max
Resource NumberPercent Per Request The workload group request maximum grant percentage.
- query
Execution NumberTimeout The workload group query execution timeout.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0