Skip to main content

available_workload_profiles

Creates, updates, deletes, gets or lists an available_workload_profiles resource.

Overview

Nameavailable_workload_profiles
TypeResource
Idazure.app_containers.available_workload_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
applicabilitystringindicates whether the profile is default for the location. Known values are: "LocationDefault" and "Custom". (LocationDefault, Custom)
categorystringUsed to categorize workload profiles.
coresintegerNumber of cores in CPU.
displayNamestringThe everyday name of the workload profile.
gpusintegerNumber of GPUs.
locationstringRegion of the workload profile.
memoryGiBintegerMemory in GiB.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, subscription_idGet available workload profiles by location. Get all available workload profiles for a location.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Get available workload profiles by location. Get all available workload profiles for a location.

SELECT
id,
name,
applicability,
category,
cores,
displayName,
gpus,
location,
memoryGiB,
systemData,
type
FROM azure.app_containers.available_workload_profiles
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;